NEW
Font size
WorksheetsCodeU3 RevQz
Total questions: 15
Worksheet time: 8mins
Which programming language can run across different systems?
compiled
interpreted
internet
assembly
Which programming language is faster to develop due to easier debugging capability?
compiled
interpreted
depends on the platform
both are about the same
Which programming language runs faster?
compiled
Interpreted
depends on the platform
both are about the same
If you want to keep your source code secret, ___________ is the one you want
JavaScript
Python
Java
PHP
Which arrangement lists from low-level to high-level programming languages?
machine-assembly-interpreted-compiled
interpreted-compiled-assembly-machine
compiled-interpreted-assembly-machine
machine-assembly-compiled-interpreted
Program developed using __________ language is converted to machine language first before sent out to the users.
Python
JavaScript
Java
ARM
Human machine demonstration in class is an example of running a __________ programming language.
compiled
interpreted
assembly
machine
Why are codes compiled separately for different systems?
This is just a matter of preference.
Different systems have different electronic pathways.
As a business strategy to improve user interest and increase profit.
Control unit reads the code and causes ALU and memory to compute and store.
Algorithm is ...
Type of programming language
Logical unit in the processor that executes the commands
Set of electrical pathways in each sytem
Set of instructions for the computer
Abstraction, by definition, allows you to ...
repeat things easily as many times as you want.
model the result of running the codes.
sound very intelligent and competent for the future employment.
hide away details, so you can concentrate on more relevant tasks.
Which one is an example of encapsulation?
algorithm
abstraction
functions
codes
Which is not true about functions?
2 functions with same code inside them in a program should have the same name.
Each function in a program must have different names even it they have the same codes inside them.
Calling on defined functions allows abstracting away of irrelevant details.
Parameter is set when calling a function rather than when creating it.
Top-down design is problem-solving approach that ...
executes the codes from 1st line to the next until it's run all the codes.
breaks down a system to gain insight into the sub-system that make it up.
abstracts lower-level programming language inside higher-level language.
allows programmer to implement loops without worrying about the parameters.
Which is not a requirement of codes?
must be unique
must be precise
must be repeatable
must be predictable
For which turtle drawing scenario, is it better to write a function over loop?
snow flakes
hexagon
circles of random sizes at random locations
message "Hi"
