Quiz 1

Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Process modeling

Process modeling

University

10 Qs

 QUIZ  MS Core Java Quiz-3 2023

QUIZ MS Core Java Quiz-3 2023

University

11 Qs

Tutorium 1 - Prog2

Tutorium 1 - Prog2

University

11 Qs

GAMTEK - PERTEMUAN 2

GAMTEK - PERTEMUAN 2

University

10 Qs

HTML Tag

HTML Tag

University

15 Qs

G7 - Ôn tập C1,2

G7 - Ôn tập C1,2

KG - University

10 Qs

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

University

14 Qs

Quiz 1

Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

MA CPC

Used 2+ 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

int a = 10, b = 20;

cout << "Number is a + b" << '\n';


Number is a + b

“Number is a + b”


Number is 30


Number is a + b = 30


2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 3.3 , y = 7;

cout << x + y << '\n';


x + y


10

10.3

x + 7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

float x = 3.000;

String s = "3.000";

cout << x <<" "<< s << '\n';


3.000  3.000

3  3.000

syntax error

3.000 3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

string num="12.0",num1="34.5"; 

cout<< num + num1 <<'\n';

46.5


46

syntax error

12.034.5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cout<<"X\nY";

 X\nY


XY

X   

Y

X

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a=2 , b=6 , c=1 ;

a += 2;

b += 1;

c += 4;

cout<<a<<" "<<b<<" "<<c<<'\n';

2 6 1


 7 5 4


5 7 4


4 7 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

char c = 'a'  ;

cout<< c++ <<'\n';

cout<< ++c <<'\n';


b

 c


a

b

a

c

c

a

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?