
C/C++ Programming Quiz
Authored by Trigger Mind
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
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a function in C?
func
function
def
void
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a loop used for in C?
To repeat a block of code multiple times
To define a function
To store data
To print text
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function used for in C?
To store data on which beyblade series is best
To define a block of code that can be reused
To control program flow
To print text
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to access the value stored in a pointer variable in C?
*
->
::
.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to denote a single-line comment in C?
//
#
/*
'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a pointer to an integer?
int *ptr;
ptr int;
integer ptr;
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a pointer used for in C?
To store a string
To store the address of another variable
To point towards the sky
To perform calcualations
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
20 questions
IT Essential UIUX Chapter 1 & 2
Quiz
•
University
20 questions
SECOND QUIZ
Quiz
•
University
20 questions
Chapter 3: Strategic Initiatives for implementing CA
Quiz
•
University
20 questions
DWDM-2
Quiz
•
University
20 questions
HCI - UCD
Quiz
•
University
20 questions
Chapter 1: Introduction to Computer
Quiz
•
University
20 questions
Artificial Intelligence CT-1
Quiz
•
University
20 questions
Python Recap
Quiz
•
7th Grade - 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
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