C++ Programming Quiz sesi (ii) 2023/2024

C++ Programming Quiz sesi (ii) 2023/2024

University

30 Qs

quiz-placeholder

Similar activities

Programming Fundamentals

Programming Fundamentals

University

30 Qs

Code Carnival

Code Carnival

University

25 Qs

Introduction to Java

Introduction to Java

University

25 Qs

Technical Quiz

Technical Quiz

University

30 Qs

PHP + MySQL

PHP + MySQL

7th Grade - University

25 Qs

Java Review

Java Review

9th Grade - University

25 Qs

TECHNOWIZ'S QUIDDITCH

TECHNOWIZ'S QUIDDITCH

University

25 Qs

C Quiz 1

C Quiz 1

University

25 Qs

C++ Programming Quiz sesi (ii) 2023/2024

C++ Programming Quiz sesi (ii) 2023/2024

Assessment

Quiz

Computers

University

Medium

Created by

MOHD (PMKL)

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify THREE (3) types of error in programming.

Grammatical error, single time error, logical error

Syntax error, run-time error, logical error

Syntax error, mathematical error, single error

Grammatical error, calculation error, logic error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Identify the CORRECT answer to represent the statement shown in Figure A2.

Identifiers

Variable

Constant Variable

Data Types

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the acceptable ways to define variables.

int a; b;

int a, int b;

int a; double b;

int a, double b;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the suitable symbol that is used for initialization in Programming.

;

_

<< 

=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the CORRECT C++ syntax to declare a variable named “Address” of string type.

char Address;

char Address (20);

string address;

string address (20);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Choose the suitable answer for a variable based on the given statement.

Local variable

Global Variable

Function Variable

Class Variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Trace the output of the given C++ program in Figure A7.

4, 3, 3, 1

4, 3, 3, 0

4,

3,

3,

0

4,

3,

3,

1

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?