C++ Basics Quiz

C++ Basics Quiz

University

10 Qs

quiz-placeholder

Similar activities

Quiz sobre Constantes em Programação

Quiz sobre Constantes em Programação

University

15 Qs

Quiz de Programação em Java

Quiz de Programação em Java

University

10 Qs

TEB2132 C++ Fundamentals Quiz

TEB2132 C++ Fundamentals Quiz

University

15 Qs

NESTED-IF, FOR & WHILE LOOP By handawnz

NESTED-IF, FOR & WHILE LOOP By handawnz

University

12 Qs

Data Structure Lab 1

Data Structure Lab 1

University

10 Qs

Quiz Pemrograman Arduino

Quiz Pemrograman Arduino

10th Grade - University

15 Qs

3F_14042025_Verifica per orale Informatica

3F_14042025_Verifica per orale Informatica

11th Grade - University

10 Qs

Quiz Pengetahuan Tipe Data

Quiz Pengetahuan Tipe Data

10th Grade - University

6 Qs

C++ Basics Quiz

C++ Basics Quiz

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

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

Media Image

Based on Figure 2, select the CORRECT output.

27

12

30

15

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?