TOPIC 2: BASIC PROGRAM ELEMENTS

TOPIC 2: BASIC PROGRAM ELEMENTS

University

10 Qs

quiz-placeholder

Similar activities

Jeffy

Jeffy

KG - Professional Development

10 Qs

PLANNING + STEPS

PLANNING + STEPS

University

12 Qs

OPERACIONALIZACION DE LA VARIABLE

OPERACIONALIZACION DE LA VARIABLE

University

10 Qs

mba bnm

mba bnm

University

10 Qs

Global Urban Farming

Global Urban Farming

University

10 Qs

What is Diabetic ?

What is Diabetic ?

University

10 Qs

The future of mars exploration

The future of mars exploration

1st Grade - Professional Development

10 Qs

História da LA

História da LA

University

12 Qs

TOPIC 2: BASIC PROGRAM ELEMENTS

TOPIC 2: BASIC PROGRAM ELEMENTS

Assessment

Quiz

Education

University

Practice Problem

Medium

Used 28+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ldentify a statement that tells the compiler to merge the codes contained in an

iostream file with current source code file.

#include iostream

#include <iostream>;

#include <iostream>

#include (iostream)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify a VALID identifier.

Total Sum

1Total Sum

Total%Sum

Total_Sum

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name the type of variable that can be used from any part of including within functions.

local variable

global variable

scope variable

universal variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the CORRECT syntax to declare a constant.

constant char GRADE= A;

constant char GRADE = 'A':

const char GRADE = A;

const char GRADE ='A';

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select a syntax that allows a user to input the value of CGPA.

cin >> CGPA;

cin<< "CGPA";

cout <<" Please enter your CGPA";

cout>>" Please enter your CGPA";

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If variable is used to store value of payment, the suitable data type for the variable is

int

char

float

string

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the operator that compares between two variables.

==

=

++

--

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?

Discover more resources for Education