Q211. Which loop is guaranteed to execute at least once?
- while
- for
- do-while
- foreach
Show answer and explanation
Correct answer: C. do-while
do-while checks the condition after the body.
Computer knowledge is tested in jobs ranging from clerical posts to IT positions. Practice MCQs on computer fundamentals, hardware, software, MS Office, networking, internet, databases and programming concepts, and see your score as soon as you finish.
Correct answer: C. do-while
do-while checks the condition after the body.
Correct answer: A. 128
IPv6 addresses are 128 bits.
Correct answer: A. HLOOKUP
HLOOKUP searches the first row.
Correct answer: A. MIN
MIN returns the smallest value.
Correct answer: B. Scanner
A scanner digitises documents.
Correct answer: A. .cpp
.cpp is the common C++ extension.
Correct answer: C. Ctrl + B
Ctrl+B makes bold.
Correct answer: A. 0
Arrays are zero-indexed in C, Java and Python.
Correct answer: B. Cache memory
Cache is the fastest memory near the CPU.
Correct answer: C. Manages hardware and software resources
The OS manages resources and provides services.