This class was created by Brainscape user Hannah Foley. Visit their profile to learn more about the creator.

Decks in this class (25)

Week 1
Printing out to the screen,
Line break,
Read the next input
14  cards
Variables
Why do we need variables,
Generic format for variable,
What does type mean
19  cards
Assignment w1
What does it mean to declare,
What should you do if you havent ...,
What are constants
5  cards
Expressions, Operator Precedence, MATHS w1
Operator for addition,
Operator for subtraction,
Operator for multiplication
38  cards
printf
Placeholders can be replaced late...,
To print out a string,
To print out on a new line
5  cards
Booleans
Equal to,
Not equal to,
What do booleans do
22  cards
If statements
Which statement block gets execut...,
Which statement gets executed if ...
2  cards
Comments
To start a single line comment,
To start a comment that spans ove...,
To end a comment that spans over ...
4  cards
Conditional Expressions
If the boolean evaluates to true ...,
If the boolean is false which exp...
2  cards
Strings
Define a string,
How to find out length of string,
How can we extract individual cha...
9  cards
For loops
What is iteration,
General for loop form,
What does the condition for conti...
8  cards
Increment and Decrement
What does count have the same mea...,
When do post increments happen,
When do pre increments happen
9  cards
Random Numbers
Can computers generate truly rand...,
In java how do you create a rando...,
Import random library line
11  cards
Variable Scope
When do variables come into scope,
When do variables lose scope,
Using a variable after the block ...
7  cards
While Loops
While loop general formula,
When does while loop stop,
When do we use a while loop over ...
3  cards
Errors and Avoiding them etc
What does exception in thread jav...,
How can we check our input is in ...,
What type is inputhasnext
12  cards
Do While
Do while general formula,
When do we use do while loops,
In comments beside do we should put
3  cards
Switch Statements
What are the labels,
How do we know to leave the curre...,
General formula
6  cards
Functions
Advantages of using functions,
General layout for a function header,
How to separate parameters in fun...
10  cards
Arrays
Formula for reference for arrays,
Two ways to create an array,
How to create space eg int array ...
22  cards
Randomising and Sorting
How to randomize,
How to sort
2  cards
OOP terms
What are the attributes of the ob...,
What is the behaviour of the object,
What is a class
47  cards
Array Lists
How to create an array list,
How to add to an array lis,
How to add to an array list at a ...
9  cards
Access Modifiers
4 different types of access modif...,
Can classes and interfaces be pri...,
What does it mean when a variable...
14  cards
Files, File Reading, File Writing
Where do computers store files,
What is a byte based stream,
How many bytes in a characer
32  cards

More about
Introduction to Programming

  • Class purpose General learning

Learn faster with Brainscape on your web, iPhone, or Android device. Study Hannah Foley's Introduction to Programming flashcards for their Trinity College Dublin class now!

How studying works.

Brainscape's adaptive web mobile flashcards system will drill you on your weaknesses, using a pattern guaranteed to help you learn more in less time.

Add your own flashcards.

Either request "Edit" access from the author, or make a copy of the class to edit as your own. And you can always create a totally new class of your own too!

What's Brainscape anyway?

Brainscape is a digital flashcards platform where you can find, create, share, and study any subject on the planet.

We use an adaptive study algorithm that is proven to help you learn faster and remember longer....

Looking for something else?

INFT1004 introduction to programming ...
  • 85 decks
  • 80 flashcards
  • 2 learners
Decks: Glossary Chpt 1, Glossary Chpt 2, Glossary Chpt 3, And more!
Programming
  • 10 decks
  • 354 flashcards
  • 58 learners
Decks: Intro To Java, Cs50 Week 1, Mit 600 Week 1, And more!
Introduction to Anatomy
  • 41 decks
  • 1129 flashcards
  • 2 learners
Decks: Terminology And Orientation, Cells And Basic Tissues, Embryology, And more!
Make Flashcards