CDT Flashcards

(13 cards)

1
Q

What is a boolean expression

A

True or False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a command

A

It is an instruction to a computer to do a specific task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an integer

A

It is whole number that can be positive, negative or zero.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a loop

A

It repeats the code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an operator

A

Specific symbols that carry out mathematical or logical statements: +, - , = <, >

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a string

A

It is a sequence of characters, letters, numbers and symbols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a variable

A

It is a way of storing and keeping track of data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a conditional statement?

A

It a piece of code that contains if or elif or else

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Camel case

A

Two words where the first word starts with a lower Case and the second word a capital

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

‘Hello’ is a:

A

string variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

‘105’ is a:

A

Integer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is ‘Name = input (“What is your first name?”)’

A

It is a variable and input command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Name = “Jane”

A

string variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly