WorksheetsModified Graded IB Computer Science
Total questions: 16
Worksheet time: 8mins
The idea that computer memory is filled with 0s and 1s is
an abstraction
an object
algorithmic design
boolean algebra
The main "brain" of the computer is called the
central processing unit (CPU)
primary memory
graphics processing unit (GPU)
register
The smallest working circuit in a computer is called a
logic gate
central processing unit
transistor
vacuum tube
The built in abilities of a processor, such as storing data into registers or adding numbers, are called
logic gates
transistors
primary actions
fundamental operations
Which of the following are parts of the primary memory? (check all that apply)
RAM
ROM
CD-ROM
cpu registers
cache
Which of the following languages have to be compiled to work?
python
java
javascript
machine language
Which of the following are floating point numbers?
-11
43.291
1.58e-3
5
Which of the following will make the variable a have a value one larger than it did before? (select all that apply)
a + 1;
a++;
a += 1;
a = a++;
a = a + 1;
Consider the expression
let nums = [1, 2, 3];
What is the index of the 2?
0
1
2
3
Consider the expression
let nums = [1, 2, 3];
What is the data type of nums?
number
number[]
array
int[]
Consider the expression
let nums = [1, 2, 3];
What is the value of nums.length?
0
1
2
3
undefined
Consider the expression
let nums = [1, 2, 3];
What is the value of nums[0]?
0
1
2
3
undefined
Consider the expression
let nums = [1, 2, 3];
What is the value of nums[3]?
0
1
2
3
undefined
This is the truth table of
AND
OR
NOR
NAND
XOR
This is the truth table of
AND
OR
NOR
NAND
XOR
The binary number 10110 is equal to
22
20
14
44
