wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CodeU3 RevQz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which programming language can run across different systems?

a)

compiled

b)

interpreted

c)

internet

d)

assembly

2.

Which programming language is faster to develop due to easier debugging capability?

a)

compiled

b)

interpreted

c)

depends on the platform

d)

both are about the same

3.

Which programming language runs faster?

a)

compiled

b)

Interpreted

c)

depends on the platform

d)

both are about the same

4.

If you want to keep your source code secret, ___________ is the one you want

a)

JavaScript

b)

Python

c)

Java

d)

PHP

5.

Which arrangement lists from low-level to high-level programming languages?

a)

machine-assembly-interpreted-compiled

b)

interpreted-compiled-assembly-machine

c)

compiled-interpreted-assembly-machine

d)

machine-assembly-compiled-interpreted

6.

Program developed using __________ language is converted to machine language first before sent out to the users.

a)

Python

b)

JavaScript

c)

Java

d)

ARM

7.

Human machine demonstration in class is an example of running a __________ programming language.

a)

compiled

b)

interpreted

c)

assembly

d)

machine

8.

Why are codes compiled separately for different systems?

a)

This is just a matter of preference.

b)

Different systems have different electronic pathways.

c)

As a business strategy to improve user interest and increase profit.

d)

Control unit reads the code and causes ALU and memory to compute and store.

9.

Algorithm is ...

a)

Type of programming language

b)

Logical unit in the processor that executes the commands

c)

Set of electrical pathways in each sytem

d)

Set of instructions for the computer

10.

Abstraction, by definition, allows you to ...

a)

repeat things easily as many times as you want.

b)

model the result of running the codes.

c)

sound very intelligent and competent for the future employment.

d)

hide away details, so you can concentrate on more relevant tasks.

11.

Which one is an example of encapsulation?

a)

algorithm

b)

abstraction

c)

functions

d)

codes

12.

Which is not true about functions?

a)

2 functions with same code inside them in a program should have the same name.

b)

Each function in a program must have different names even it they have the same codes inside them.

c)

Calling on defined functions allows abstracting away of irrelevant details.

d)

Parameter is set when calling a function rather than when creating it.

13.

Top-down design is problem-solving approach that ...

a)

executes the codes from 1st line to the next until it's run all the codes.

b)

breaks down a system to gain insight into the sub-system that make it up.

c)

abstracts lower-level programming language inside higher-level language.

d)

allows programmer to implement loops without worrying about the parameters.

14.

Which is not a requirement of codes?

a)

must be unique

b)

must be precise

c)

must be repeatable

d)

must be predictable

15.

For which turtle drawing scenario, is it better to write a function over loop?

a)

snow flakes

b)

hexagon

c)

circles of random sizes at random locations

d)

message "Hi"