
Unit - 4 MCQ Test - CO11

Quiz
•
Computers
•
University
•
Hard
Suman Tiwari
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of function declaration in C?
To hide the function from the compiler
To confuse the programmer
To inform the compiler about the function's name, return type, and parameters before its actual definition.
To increase the program's efficiency
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A function which calls itself is called a ___ function.
Self Function
Auto Function
Recursive Function
Static Function
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the lifetime of global variables?
They exist throughout the entire program’s execution.
They are destroyed when the function exits.
They are limited to the block they are declared in.
They can only be accessed by the main function.
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the scope of a variable?
The region of the program where it can be accessed.
The type of data it can hold.
The number of times it can be used.
The time it takes to execute.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C Programming - Basics 001

Quiz
•
University
10 questions
Round 1

Quiz
•
University
10 questions
Google Drive

Quiz
•
KG - University
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
10 questions
Basic C++ Program Structures

Quiz
•
University
10 questions
PYTHON PROGRAMMING

Quiz
•
University
15 questions
Microsoft Office

Quiz
•
University
15 questions
C programming

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University