Log in
Sign up for FREE
arrow_back
Library
3-р улирал Программчлалын үндэс
By ganaa 0129
star
star
star
star
star
Share
share
Last updated about 2 years ago
4 questions
Add this activity
1
1
Required
1
1
Question 1
1.
What is a compiler? \Хөрвүүлэгч гэж юу вэ?\
Executes machine code \Машины кодыг гүйцэтгэдэг\
Translates source code into machine code \Эх кодыг машины код болгон хөрвүүлдэг\
Edits source code \Эх кодыг засварлана\
Interprets source code \Эх кодыг тайлбарладаг \
Question 2
2.
What is a variable? \Хувьсагч гэж юу вэ? \
An operator that performs mathematical operations \Математик үйлдлүүдийг гүйцэтгэдэг оператор \
A named memory location \Нэрлэсэн санах ойн байршил\
A function that returns a value \Утга буцаадаг функц \
A loop that repeats a block of code \Кодын блокийг давтдаг давталт \
Question 3
3.
What is the main function in a C++ program?
A function that prints output
The entry point of program execution
A function that performs calculations
A function that initializes variables
Question 4
4.
What is a loop?
A statement that declares a variable
Repeats a block of code until a condition is met
A function that calls other functions
An operator that compares two values