Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Modified Graded IB Computer Science

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

The idea that computer memory is filled with 0s and 1s is

a)

an abstraction

b)

an object

c)

algorithmic design

d)

boolean algebra

2.

The main "brain" of the computer is called the

a)

central processing unit (CPU)

b)

primary memory

c)

graphics processing unit (GPU)

d)

register

3.

The smallest working circuit in a computer is called a

a)

logic gate

b)

central processing unit

c)

transistor

d)

vacuum tube

4.

The built in abilities of a processor, such as storing data into registers or adding numbers, are called

a)

logic gates

b)

transistors

c)

primary actions

d)

fundamental operations

5.

Which of the following are parts of the primary memory? (check all that apply)

a)

RAM

b)

ROM

c)

CD-ROM

d)

cpu registers

e)

cache

6.

Which of the following languages have to be compiled to work?

a)

python

b)

java

c)

javascript

d)

machine language

7.

Which of the following are floating point numbers?

a)

-11

b)

43.291

c)

1.58e-3

d)

5

8.

Which of the following will make the variable a have a value one larger than it did before? (select all that apply)

a)

a + 1;

b)

a++;

c)

a += 1;

d)

a = a++;

e)

a = a + 1;

9.

Consider the expression


let nums = [1, 2, 3];


What is the index of the 2?

a)

0

b)

1

c)

2

d)

3

10.

Consider the expression


let nums = [1, 2, 3];


What is the data type of nums?

a)

number

b)

number[]

c)

array

d)

int[]

11.

Consider the expression


let nums = [1, 2, 3];


What is the value of nums.length?

a)

0

b)

1

c)

2

d)

3

e)

undefined

12.

Consider the expression


let nums = [1, 2, 3];


What is the value of nums[0]?

a)

0

b)

1

c)

2

d)

3

e)

undefined

13.

Consider the expression


let nums = [1, 2, 3];


What is the value of nums[3]?

a)

0

b)

1

c)

2

d)

3

e)

undefined

14.

This is the truth table of

a)

AND

b)

OR

c)

NOR

d)

NAND

e)

XOR

15.

This is the truth table of

a)

AND

b)

OR

c)

NOR

d)

NAND

e)

XOR

16.

The binary number 10110 is equal to

a)

22

b)

20

c)

14

d)

44