C/C++ Programming Quiz

Quiz
•
Computers
•
University
•
Easy
Trigger Mind
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Code Junction 4

Quiz
•
University
20 questions
PHP Quiz 1

Quiz
•
University
20 questions
Round-1 Technical Aptitude

Quiz
•
11th Grade - Professi...
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
20 questions
C-QUEST QUIZ BEE

Quiz
•
University
22 questions
c++

Quiz
•
University
20 questions
Review JavaScript

Quiz
•
11th Grade - University
25 questions
Understanding Loops in 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