CDT Flashcards

(14 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

an integer is a whole number that can be positive, negative, and a 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 mathmatical 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, symbols and numbers

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 keeping track and storing data

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

what is a conditional statement

A

a peice of code that uses “if” “elif” “else”

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

What is camel case?

A

Its two words where the first one is lowercase and the secons one is capital.

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

“hello” is a

A

string

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 comand and input variable

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
14
Q

age = 15

A

integer variable

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