Dasar-dasar Pemrograman C++

Dasar-dasar Pemrograman C++

University

57 Qs

quiz-placeholder

Similar activities

Quiz on Processes in Distributed System

Quiz on Processes in Distributed System

University

60 Qs

Programación

Programación

KG - Professional Development

60 Qs

FINALS Data Structure and algorithm

FINALS Data Structure and algorithm

University

62 Qs

Computer Architecture and Organization

Computer Architecture and Organization

University

55 Qs

ITC 112 - Topic 4 Quiz

ITC 112 - Topic 4 Quiz

University

55 Qs

CompTia 1001 Exam Review

CompTia 1001 Exam Review

10th Grade - University

56 Qs

Hilos Java

Hilos Java

University

62 Qs

WEBDES Midterm Exam

WEBDES Midterm Exam

University

60 Qs

Dasar-dasar Pemrograman C++

Dasar-dasar Pemrograman C++

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Febriyanti Darnis

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

57 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is meant by a constant in C++?

A value that can be changed while the program runs.

A fixed value that cannot be changed after being declared.

A function that returns a value.

A variable stored in memory.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to declare an integer variable in C++?

int variable;

float variable;

string variable;

char variable.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is used to store a single character in C++?

int

double

char

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to start a conditional block in C++?

switch

if

for

while

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a constant in C++?

A variable whose value can be changed

A variable that cannot be changed

A function that returns a fixed value

A logical operator

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to declare a constant in C++?

int const a = 10;

const int a = 10;

#define a 10

All answers are correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in C++?

A place to store data whose value can change

A place to store data whose value cannot change

A mathematical operator

A fixed value

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?