Computer Science Exam 1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/42

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

43 Terms

1
New cards
What base is decimal/denary?
10
2
New cards
What base is binary?
2
3
New cards
What base is hexadecimal?
16
4
New cards
What is binary?
a system where numbers and values are represented as 0 or 1
5
New cards
Why do computers use binary?
Computers use electrical signals that are either on or off
6
New cards
What are transistors?
The switches in a processor that turn it on or off
7
New cards
How many columns on a nibble table?
4
8
New cards
How many columns on a byte table?
8
9
New cards
What does a small b represent?
bit
10
New cards
What does a big B represent?
byte
11
New cards
How many nibbles in one byte?
2
12
New cards
What range can represented in 8 bits?
0 to 255
13
New cards
How many bits in a nibble?
4
14
New cards
Why is hexadecimal notation used?
Shorter and easier for humans to understand
15
New cards
What characters are used to represent hexadecimal?
0-9 A-F
16
New cards
What is a bit?
The fundamental unit of information
17
New cards
What is an issue with using logical shifts?
It decreased precision as it may take of necessary binary
18
New cards
In ASCII how much storage space is needed for a single letter of the alphabet?
7 bits
19
New cards
How many bits does extended ASCII use?
8
20
New cards
How does the computer recognise which letter is pressed on a keyboard?
It converts it into a number when the key is pressed
21
New cards
Advantage of ASCII over Unicode
Takes up less storage
22
New cards
Advantage of Unicode over ASCII
Has more characters
23
New cards
How many bits is Unicode?
16
24
New cards
What is ASCII?
American Standard Code for Information Interchange
25
New cards
Unicode uses the same codes as ASCII up to ...
127
26
New cards
What is a character set?
A collection of characters that a computer recognises from their binary representation
27
New cards
Logic error
Error results in an unexpected outcome
28
New cards
Syntax error
Error in spelling, punctuation and grammar
29
New cards
Runtime error
Error that occurs when a program is asked to do something it cannot, resulting in a crash
30
New cards
\n
escape sequence for a new line
31
New cards
\t
escape sequence for a tab
32
New cards
Changing from one data type to another while the program is running
Casting
33
New cards
Power of
**
34
New cards
MOD
% remainder of division
35
New cards
DIV
// whole number without rounding
36
New cards
What is a variable?
stores data in the RAM
37
New cards
Overflow error
when the total from adding binary cannot be stored in the storage available
38
New cards
Equal to
==
39
New cards
Not equal to
!=
40
New cards

Greater than

>

41
New cards

Greater than or equal to

>=

42
New cards
Less than
<
43
New cards
Less than or equal to