
Unit - 4 MCQ Test - CO11
Authored by Suman Tiwari
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What vlaue is stored in x? X = scanf("%d %d", &a, &b);
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
The parameters used in a function definition are also called as __________
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The arguments used in a function call are also called as __________
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Computer and Other Human Inventions
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
15 questions
Robotics Prelim
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
7 questions
Data mining-Clustering-1
Quiz
•
University
15 questions
GIS Unit III
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University