
Programming Fundamentals Quiz
Authored by Nhạc Quân
Science
KG
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
92 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a program?
A graphical interface
A collection of statements that solve a problem
A machine hardware component
A type of compiler
Answer explanation
A program is defined as a collection of statements that solve a problem. This choice accurately describes the essence of programming, which involves writing code to perform specific tasks or solve particular issues.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following languages is an example of a high-level language?
Machine Language
Assembly Language
Python
Binary Language
Answer explanation
Python is a high-level programming language known for its readability and ease of use. In contrast, Machine Language, Assembly Language, and Binary Language are low-level languages that are closer to hardware and less abstract.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the role of an interpreter in programming?
Converts pseudocode to human-readable language
Translates statements one-by-one for execution
Compiles all code at once into a program
Creates hardware designs
Answer explanation
An interpreter translates statements one-by-one for execution, allowing for immediate execution of code. This is different from a compiler, which compiles all code at once.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is an algorithm?
A piece of hardware
A type of compiler
A logically ordered set of statements
A graphical user interface
Answer explanation
An algorithm is defined as a logically ordered set of statements that provide a step-by-step procedure for solving a problem or performing a task, making it the correct choice among the options provided.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which language is commonly used for artificial intelligence applications?
COBOL
Lisp
Assembly
Fortran
Answer explanation
Lisp is a language specifically designed for artificial intelligence applications due to its excellent support for symbolic reasoning and manipulation. Other options like COBOL, Assembly, and Fortran are not commonly used in AI.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statements is true about low-level languages?
They are human-friendly.
They execute programs slower than high-level languages.
They are closely tied to specific CPU types.
They require no conversion to machine code.
Answer explanation
Low-level languages are closely tied to specific CPU types, as they provide direct control over hardware. This makes them less human-friendly and often requires conversion to machine code, unlike high-level languages.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does "mov cx, 8" represent in Assembly Language?
Increment the CX register by 8
Compare CX with 8
Transfer the value 8 into the CX register
Multiply CX by 8
Answer explanation
The instruction 'mov cx, 8' means to transfer the value 8 into the CX register. It does not increment, compare, or multiply the value in CX.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?