WorksheetsIntroduction To Programming
Total questions: 10
Worksheet time: 5mins
What is a program?
A type of computer network
A type of computer software
A set of instructions that tells a computer what to do
A type of computer hardware
Which of the following is an example of a low-level language?
Python
C++
Java
Machine Language
What is the advantage of using assembly language over machine language?
Easier to read and modify
Machine-independent
Readily understood by computers
Easier to learn and understand
Which programming language paradigm is based on the concept of modular programming?
Object-oriented
Logic
Procedural
Functional
What is the function of an interpreter in language translation?
Translates high-level source code into machine code, one line at a time
Translates assembly language into machine code
Translates high-level source code into machine code
Translates the entire source code into machine code
Which of the following is an example of a high-level language?
Assembly Language
Machine Language
Java
C++
What is the focus of the logic programming language paradigm?
Data manipulation
Facts and rules about some problem domain
Object and classes
Modular programming
What is the function of a compiler in language translation?
Translates high-level source code into assembly language
Translates the entire high-level source code into machine code
Translates assembly language into machine code
Translates high-level source code into machine code, one line at a time
Which type of language translator translates instructions written in assembly language into machine code?
Compiler
Linker
Assembler
Interpreter
What is the main advantage of using high-level language over low-level languages?
Readily understood by computers
Easier to read and modify
Easier to learn and understand
Machine-independent
