CT3 Flashcards

1
Q

What are the numbers that make up the binary line?

A

128, 64, 32, 16, 8, 4, 2, 1

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

What numbers are binary?

A

1 and 0

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

What does 0 mean?

A

on

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

What does 1 mean?

A

off

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

Why are there only two numbers in binary?

A

only language the computer understands

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

0+0

A

0

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

0+1

A

1

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

1+0

A

1

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

1+1

A

0 carry 1

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

1+1+1

A

1 carry 1

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

`16 x 1

A

16

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

16 x 2

A

32

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

16 x 3

A

48

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

16 x 4

A

64

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

16 x 5

A

80

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

16 x 6

A

96

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

16 x 7

A

112

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

16 x 8

A

128

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

16 x 9

A

144

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

16 x 10

A

160

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

16 x 11

A

176

22
Q

16 x 12

A

192

23
Q

What is the Hexadecimal line

A

0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

24
Q

How to convert HEX to dinery?

A

-Times the first number by 16
-Add the other number to the answer

25
Q

How to convert dinery to HEX?

A

-Divide the number by 16
-Convert it into HEX by using the HEX line

26
Q

What is a NOT gate?

A

-One input
-output is the opposite of the input

27
Q

What is the truth table for a NOT gate?

A

P-Q
0-1
1-0

28
Q

What does a NOT gate look like?

A

One input going to a triangle with a circle t the top, then has one output.

29
Q

What is an AND gate?

How many inputs and outputs?

A

-Two inputs
-One output

30
Q

What is the truth table for an AND gate?

A

A-B - Q
0-0 - 0
1-0 -0
0-1 - 0
1-1- 1

31
Q

What does an AND gate look like?

A

-Two inputs
-rectangle with a rounded edge
-one output

32
Q

What is an OR gate?

How many inputs and outputs?

A

-Two inputs
-One output

33
Q

What is the truth table for an OR gate?

A

A-B - Q
0-0 - 0
1-1 - 1
0-1 - 1
1-0 - 1

34
Q

What does an OR gate look like?

A

-Two inputs
-Into an arrow shape
-One output

35
Q

What is a computer system made of?

A

Input, output and storage devices

36
Q

What are the common components of a computer system?

A

RAM, ROM, CPU, Motherboard, hard drive, BIOS

37
Q

What are the main functions of the operating system?

A

File management
User management
User interface
Memory management
Device management

38
Q

What does the operating system provide?

A

security- username and passwords and firewalls

39
Q

What are variables?

A

Stores data and memories.

40
Q

How many pieces of data can a variable hold??

A

1

41
Q

What happens to the variable is you run your code??

A

It changes

42
Q

What are the 5 different data types??

A

Char (Character)
String
Integer
Float
Boolean

43
Q

What is a string in code?

A

anything in speech marks or a mixture of letters and numbers.

44
Q

What is an integer??

A

whole numbers

45
Q

What is a float??

A

decimal

46
Q

What is a boolean?

A

Yes/No or True/False

47
Q

How do you write comments in code?

A

Start with a #

48
Q

What are the four command words?

A

print()
input
if:
else:

49
Q

What are the two errors that can come up in code?

A

logic
syntax

50
Q

What will happen to the code if there is a logic error?

A

code run but output will not be correct

51
Q

What is a syntax error?

A

not run code

52
Q

Arrow with a line inside?

A

Storage