
C Programming Concepts
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Wayground Content
Used 1+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a return statement?
A statement that pauses a function execution.
A statement that ends a function and gives a value back to where the function was called.
A statement that creates a new variable.
A statement that loops through a set of values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are Parameters of a function?
Parameters are variables used in a function's definition to hold the values passed.
Parameters are the return values of a function.
Parameters are the functions that call other functions.
Parameters are the data types defined in a function.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Differentiate between Global and Local Variables.
Global Variable: Declared inside a function, accessible only within the function. Local Variable: Declared outside all functions, accessible from any function.
Global Variable: Declared outside all functions, accessible from any function. Local Variable: Declared inside a function, accessible only within the function.
Global Variable: A variable that can only be accessed in the main program. Local Variable: A variable that can be accessed anywhere in the program.
Global Variable: A variable that retains its value throughout the program. Local Variable: A variable that loses its value after the function ends.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Call by Reference?
When a function is called by reference, the address of the actual argument variables passed, instead of their values.
When a function is called by value, the actual values of the arguments are passed to the function.
When a function is called, it creates a copy of the variable in memory.
When a function is called, it directly modifies the original variable without any reference.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the members of the class?
Data members are the data variables declared inside the class and member functions are the functions declared inside the class.
Members of the class are the objects created from the class.
Members of the class are the attributes that define the class's behavior.
Members of the class are the methods that can be called on the class.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is arrow operator?
A type of arrow used in graphics
A member selection operator
An operator for creating arrows in programming
A symbol for indicating direction
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is recursion?
A function that calls itself is known as a recursive function and this technique is known as recursion in C programming.
A method of solving problems by breaking them down into smaller subproblems that can be solved independently.
A programming technique that involves using loops to repeat a set of instructions until a condition is met.
A way to optimize code by eliminating unnecessary function calls.
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
14 questions
LA7.C7: Turtle Graphics
Quiz
•
9th Grade - University
17 questions
Cuestionario de Certificación JS 2024
Quiz
•
12th Grade
16 questions
Ôn Tập Tin GK II 9
Quiz
•
9th Grade - University
15 questions
1.1 Computer Systems Essential Knowledge
Quiz
•
9th - 12th Grade
13 questions
Instalacion de Equipos #1
Quiz
•
9th Grade - University
14 questions
¿QUÉ TANTO SABES?
Quiz
•
1st - 12th Grade
14 questions
Dispositivos periféricos 4 Bio B
Quiz
•
12th Grade
20 questions
Computer parts
Quiz
•
1st - 12th Grade
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
