Computer Science (13.10.22) Flashcards

1
Q

What are Binary Systems?

A

-Everything that a computer needs to process must be converted into a binary format
-This format is used for storing numbers, text, images, sound and program instructions

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

What is a bit?

A

a single 0 or 1

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

How many bits in1 byte?

A

8 bits = 1 character of text

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

How many bits in 1 nibble?

A

4 bits or half a byte

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

How many bytes in 1 KiB (kibibyte)?

A

1024 bytes

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

How many KiB in a 1 MiB (mebibyte)?

A

1024 KiB

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

How many MiB in 1 GiB (gibibyte)?

A

1024 MiB

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

How many GiB in 1 TiB (tebibyte)?

A

1024 GiB

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

How many TiB in 1 PiB (pebibyte)?

A

1023 TiB

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

How many PiB in 1 EiB (exbibyte)?

A

1024 PiB

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

What does MAC stand for?

A

media access controller

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

What are the rules for Binary to Denary conversions?

A

-Even binary numbers will have a 0 at the end
-Odd binary numbers will have a 1 at the end

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

What does MSB stand for?

A

most significant bit

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

What does LSB stand for?

A

least significant bit

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

What is 0?

A

positive

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

What is 1?

A

negative

17
Q

How much is 1 Kilobyte?

A

1000 bytes

18
Q

Why is data represented in binary in a computer?

A

It makes it easier to present information

19
Q

What does ASCII stand for?

A

American Standard Code for Information Interchange

20
Q

What is maximum number of characters in a keyboard?

A

255

21
Q

How is the Representing of Text Characters in a computer?

A

-Every character on the keyboard is represented in a binary value
-Upper case ltters have different values from lowercase characters
-Punctuation symbols have their own character code

22
Q

What does a keyboard contain?

A

-26 lowercase letters
-26 uppercase letters
-10 numbers
-(around) 36 other characters

23
Q

What are Character Sets?

A

A character set is a set of letters, symbols and digits that can be represented by a computer
-There are two major character sets used today: ASCII and UNICODE

24
Q

What is ASCII?

A

-It has become the standard code, used worldwide
-It was originally developed in the 1960s for representing the English alphabet
-It encode 128 characters into 7-bit binary codes
-Characters include numbers 0 to 9, uppercase and lowercase letters A-Z, a-z, punctuation symbols and the space symbols

25
Q

What are Groups and Sequences?

A

-Numeric characters 0 to 9 run consecutively from 48 to 57 on the ASCII table
-A-Z characters are from 65-90

26
Q

What are 7 and 8-bit in ASCII?

A

-Numerous different codes for representing characters have been created, but ASCII is commonly used on PCs
-Originally only 7 bits were used, but now and 8th bit is used allowing many far more characters

27
Q

What does Concatuation do?

A

joins information together (eg: 7+5=75) + counting totally
-for-> counter loop (counter controls how many times it happens)
-repeat loop-> (not python, yes pseudecode, basic…)

28
Q

What is Pre-Condition? (programing)

A

while

29
Q

What is Post-Condition? (programing)

A

endwhile

30
Q

What are the 3 types of variable in the Counter Controlled Loop?

A

-int(eger)
-float(ing point)
-str(ing)

31
Q

What are the 3 types of statements in the Counter Controlled Loop?

A

-Sequence
-Selection (if… elif,… else)
-Iteration (while,for)