Computer Free Certificate – Data Structures with C Quiz Certificate (Questions and Answers)
Online Quiz on “Data Structure using C” organised by Department of Electronics and Telecommunication Engineering of Pune Vidyarthi Griha’s College of Engineering, Nashik is conducting online quiz with questions on “Data Structure using C” for engineering background students and faculties. After submitting online quiz an E-Certificate with minimum passing criteria 40% will be shared on your registered email Id or Google Drive.
Q1) C is a: *
- Client -side scripting language
- General Purpose Programming Language
- Photo editing program
- All of above
Q2) Which of the following are valid data types in C? *
- int, float, double, char
- int, double, char, boolean
- int, float, string, char
- int, bool, string
Q3) What is the starting point for a C Program? *
- The header
- The main() function
- First line
- None of the above
Q4) The preprocessor acts: *
- Before compilation
- After compilation
- During program runtime
- All of the above
Q5) Which one of the following is not reserved keyword in C? *
- auto
- case
- main
- default
Q6) What will be printed after execution of following code? *
- absiha
- asiha
- haasi
- hai
Q7) What will be the output of the following program? *
- 8
- 7
- 5
- 6
Q8) Find out the output of following program: *
- 0289
- 1289
- 01289
- Syntax eroor
Q9) What is the difference between declaration and definition of a variable? *
- Both can occur multiple time, but declaration must occur first
- A defination occurs once, but declation may occurs many times
- Both can occur multiple time, but a defination must occur first
- There is no difference between them.
Q10) What will happen after compiling and running following code? *
- Error
- Will make infinite loop
- Some address will be printed
- None of the above
Q11) What will be the output of following code? *
- 11
- 10
- 9
- Syntax error
Q12) Determine the output? *
- 10 10 11 11
- 10 20 21 10
- 10 20 21 21
- 10 20 21 20
Q13) Find out output of following program *
- 10
- 11
- 13
- Compilation error
Q14) What is true about a break? *
- Break stops the execution of entire program
- Break halts the execution and forces the control out of the loop
- Break forces the control out of the loop and starts the execution of next iteration
- Break halts the execution of the loop for certain time frame
Q15) What is output of following program? *
- Welcome
- o
- Wel
- come
Q16) What is a right way to initialize an array? *
- int a[ ] = { 2, 3, 5, 6, 7, 8 };
- int a[6] = { 2, 3, 4 };
- int a(6) = { 2, 3, 5, 6, 7, 8 };
- int a[6] = { 2, 3, 5, 6, 7, 8 };
Q17) What will be the output of the following C Program? *
- Good
- Good Morningn
- Morningn
- None of these
Q18) What is the return type of a method that does not return any value? *
- int
- float
- void
- double
Q19) Which of the following operator take only integer operand? *
- +
- /
- *
- %
Q20) What will be the output of the following C Program? *
- 2 5 5
- 4 5 5
- 8 5 5
- 2 4 5