PreQuiz Basic Programming C++

PreQuiz Basic Programming C++

University

10 Qs

quiz-placeholder

Similar activities

Java Quiz 2 based on loop and if else

Java Quiz 2 based on loop and if else

University

10 Qs

D-Bug (C++)

D-Bug (C++)

University

15 Qs

Defensive Design/ Robust Coding

Defensive Design/ Robust Coding

9th Grade - University

10 Qs

Init Me 3.1-1

Init Me 3.1-1

University

13 Qs

Syntax, Logic and Runtime errors 2024

Syntax, Logic and Runtime errors 2024

10th Grade - University

13 Qs

1D Array

1D Array

University

10 Qs

Nested Statement

Nested Statement

University

10 Qs

Cpp programming quiz 1 : get started with basics

Cpp programming quiz 1 : get started with basics

University

11 Qs

PreQuiz Basic Programming C++

PreQuiz Basic Programming C++

Assessment

Quiz

Computers

University

Hard

Created by

Yuslina Salleh

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the CORRECT statement for a VARIABLE.

A portion of memory to store a determined value

An expression with a fixed value

A string that varies during program execution

A number that is frequently required in programs

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose the input statement used in the C++ program

cout

input

output

cin

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the valid identifier

&totalRevenue

Total_Revenue

1Total_Revenue

Total Revenue

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Identify the CORRECT declaration of a constant

#define char grade = A;

#define PI 3.14159;

constant char grade = A;

const float PI = ‘3.14159’;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose the term that defines the number used to refer to a particular element of an array

Subscript

Element

Size

Quantity

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose the term that refers to fixed values that do not change during the execution of a program

Variable

Identifier

Constant

Keyword

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Identify the type of error detected during the execution of a program

Syntax error

Logical error

Control error

Run Time error

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?