wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

LAHSA - Computer Science Principles B - Assessment #2

Total questions: 23

Worksheet time: 22mins

Name
Class
Date
1.

All computational devices understand the following:

a)

Machine Language

b)

Python

c)

English

d)

ALL High-Level Computer Programming Languages

e)

Pre-determined sequences of 0s and 1s

2.

The sequence 101011 can be a number in:

a)

All bases

b)

binary only

c)

decimal and binary only

d)

Computer Language Only

3.

High-level computer programming languages that are translated and executed one instruction at a time are (a)   .

4.

The symbol # is called: (Pick all possible answers)

a)

Hash

b)

Number Sign

c)

Pound Sign

d)

Octothorpe

e)

Comment Sign

5.

Computer Programming Languages are divided into two major subgroups

a)

Machine

b)

Assembly

c)

Low-Level

d)

High-Level

e)

Binary

6.

Select all the low-level languages

a)

Assembly

b)

Machine

c)

Snap!

d)

Python

e)

C

7.

A 32-bit machine can access 2322^{32}  different memore addresses. How many times more addresses can a 64-bit machine access? (a)  

8.

A CPU performs two tasks by

a)

Finishing one task first then beginning the second, and so on.

b)

Splitting its time evenly between the two tasks and alternating between them until they are both completed

c)

The CPU decides which task has a higher priority and completes that task, keeping all other tasks waiting according to their priority

d)

A CPU can do both tasks at exactly the same time. Once one task is completed, it concentrates on completing the second task.

9.

Select all items that are NOT considered hardware

a)

Snap!

b)

Python

c)

Memory

d)

Browser

e)

World Wide Web

10.

The following block of code will display: (a)  

a <-- 10

b <-- -5

DISPLAY(a < b)

11.

The Decimal equivalent of the HEX number 100 is: (a)  

12.

In Computer Science, a LIST is:

a)

A variable that can store data of any type

b)

A data structure that stores data in an organized way

c)

It is an array of data that is stored in a defined organizational scheme

d)

It is a variable that con only store characters

13.

True or False?

Both Snap! and Python are high-level computer programming languages

(a)  

14.

The first step in the process of Compiling a computer program is:

a)

Translating HL code to Assembly Language Code

b)

Linking the Object Code to CPU

c)

Preprocessing

d)

Execute one line at a time and analyze for errors

15.

Python's character equivalent to Snap!'s Sprite is called:

(a)  

16.

(a)   is the simplification of complex processes.

17.

Select the processes that are abstractions

a)

Adding two single digit numbers

b)

Long Multiplication

c)

Long Division

d)

Raising a number to a power

e)

Adding 1 and 0

18.

Your name, your DOB, and your Social Security Number are examples of PII which stands for

(a)  

19.

A (a)   such as Safari, Edge, or Chrome is the SAFEST way to connect to a website.

20.

True or False: The majority of internet users scarify their privacy to use service offered by the websites they frequent

(a)  

21.

Select reasons for protecting privacy.

a)

Avoid discrimination

b)

Allow anonymous political speech

c)

Protect personal security

d)

Prevent spread of incorrect information

22.

TIOBE named this high-level computer programming language the most widely used in the year 2022.

a)

Javascript

b)

Java

c)

C

d)

Python

e)

C

23.

True or False:

In computer science '5', 5, and 5.0 all represent the same data.

(a)