
C++ Basics Quiz

Quiz
•
Information Technology (IT)
•
University
•
Easy
MAHANI BINTI ZAKARIA (POLIMAS)
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose the valid identifier.
my_age
my Age
4number
num_ber?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the CORRECT declaration of a variable named mark with integer data type.
int mark
int mark;
mark int;
integer mark;
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the CORRECT declaration of constants.
const int PI = 3.142;
int const PI = 3.142;
float const PI = 3.142;
const float PI = 3.142;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the value for the expression below. Given z = 27 / 3 + 5 % 4
14
11
10
3.5
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
There are FIVE (5) arithmetic operators and every operator has their own precedence. Identify the precedence of the arithmetic operator.
*, %, +, - , /
*, / , %, + , -
*, / , -, % , +
*, %, /, + , -
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select the CORRECT answer based on the statement below:
fixed value that cannot be changed during the execution of a program
Constants
Variables
Identifiers
Keywords
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on Figure 2, select the CORRECT output.
27
12
30
15
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
ЕГЭ задание 5

Quiz
•
12th Grade - University
11 questions
TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL

Quiz
•
University
15 questions
JavaScript-Day2

Quiz
•
University
15 questions
C - Parithabangal

Quiz
•
University
15 questions
Java Concepts Assessment For J.A

Quiz
•
University
9 questions
Mảng 1 chiều

Quiz
•
University
10 questions
C Programming Quiz

Quiz
•
University
10 questions
Arrays in CQuiz

Quiz
•
1st Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University