Debugging

A quiz-themed graphic featuring symbols of programming like code snippets, question marks, and a graduation cap in an engaging, colorful style.

Debugging Mastery Quiz

Test your knowledge on debugging and programming concepts through this engaging quiz! With 11 carefully crafted questions, you'll challenge yourself and learn more about key programming fundamentals.

Whether you're a student, a teacher, or just a programming enthusiast, this quiz offers:

  • Multiple choice questions
  • Insightful queries on data types and function declarations
  • A fun way to reinforce your understanding of key programming principles
11 Questions3 MinutesCreated by DebuggingWizard102
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
Rem = 3.14 % 2.1;
Rem = modf(3.14, 2.1);
Rem = fmod(3.14, 2.1);
Remainder cannot be obtain in floating point division.
What are the types of linkages?
Internal and External
External, Internal and None
External and None
Internal
Which of the following is not user defined data type?
1 : struct book { char name[10]; float price; int pages; };
2 : long int l = 2.35;
3 : enum day {sun, mon, tue, wed};
1
2
3
Both 1 and 2
Is the following statement a declaration or definition? Extern int I;
Declaration
Definition
Function
Error
Identify which of the following are declarations
1 : extern int x;
2 : float square ( float x ) {...}
3 : double pow(double, double);
1
2
1 and 3
3
In the following program where is the variable a getting defined and where it is getting declared? #include int main() { extern int a; printf(ā€œ%d\nā€, a); return 0; } int a=20;
Extern int a is declaration, int a = 20 is the definition
Int a = 20 is declaration, extern int a is the definition
Int a = 20 is definition, a is not defined
A is declared, a is not defined
When we mention the prototype of a function?
Defining
Declaring
Prototyping
Calling
Is there any difference between following declarations?
1 : extern int fun();
2 : int fun();
Both are identical
No difference, except extern int fun(); is probably in another file
Int fun(); is overrided with extern int fun();
None of these
How would you round off a value from 1.66 to 2.0?
Ceil(1.66)
Floor(1.66)
Roundup(1.66)
Roundto(1.66)
11.Which of the following concepts means wrapping up of data and functions together?
Abstraction
Encapsulation
Inheritance
Polymorphism
Name: Enter your College name!
{"name":"Debugging", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge on debugging and programming concepts through this engaging quiz! With 11 carefully crafted questions, you'll challenge yourself and learn more about key programming fundamentals.Whether you're a student, a teacher, or just a programming enthusiast, this quiz offers:Multiple choice questionsInsightful queries on data types and function declarationsA fun way to reinforce your understanding of key programming principles","img":"https:/images/course5.png"}
Powered by: Quiz Maker