0% found this document useful (0 votes)
4 views2 pages

Basic Coding Concepts Quiz

Uploaded by

animetra14
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Basic Coding Concepts Quiz

Uploaded by

animetra14
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

BASIC CODING QUESTION

1. One loop inside the body of another loop is called .


A. Simple loop
B. Nested loop
C. Loop
D. Double loop
Ans (b)
2. A Syntax Error is ?
a. An error you will never find
b. An error you find at the end when the program gives out a wrong
value due to logic error.
c. An error caused by language rules being broken.
d. An error due to user error
Ans (c)
3. What does this equation mean A != t?
a. A is assigned t
b. A and t are equal
c. A is not equal to t
d. t is add to A
Ans (c)
4. int hold decimal value ?
a. true
b. False
Ans (a)
5. what is FIFO ?
a. FIRST IN FIRST OUT
b. FIRST IN FEW OUT
c. FEW IN FIRST OUT
d. FEW IN FEW OUT
Ans (a)
6. Entering a comment in code is useless task , it will not help in any way
state true or false ?
a. True
b. False
Ans (b)
7. A do while and while loop are same ?
a. True
b. False
Ans (b)
8. A memory location that hold a single letter or number is called ______ ?
a. int
b. Double
c. Char
d. Float
Ans (c)
9. A short section of code written to complete a specific task ?
a. Loop
b. Function
c. Array
d. Buffer
Ans (b)

10. Which data structure use LIFO ?


a. Array
b. Stack
c. Char
d. Int
Ans (b)

You might also like