Quiz 1

Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

Java Quiz 4

Java Quiz 4

University

15 Qs

CS100||MsWord

CS100||MsWord

University

10 Qs

Binary Tree

Binary Tree

University

14 Qs

Linked List 2

Linked List 2

University

10 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Quiz - CSE

Quiz - CSE

University

10 Qs

2024 - Struktur Data Quiz 1

2024 - Struktur Data Quiz 1

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 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

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?