Quiz 2: Data types & Operators

Quiz 2: Data types & Operators

Professional Development

15 Qs

quiz-placeholder

Similar activities

C - Programming ( Output based - Loop )

C - Programming ( Output based - Loop )

Professional Development

10 Qs

CIT JULY 2022

CIT JULY 2022

Professional Development

10 Qs

Javascript Fundamental Practice

Javascript Fundamental Practice

Professional Development

20 Qs

Basic of Programming - Quiz 02

Basic of Programming - Quiz 02

University - Professional Development

15 Qs

Java Quiz#3(Local Variables)

Java Quiz#3(Local Variables)

Professional Development

10 Qs

Kotlin quiz 3

Kotlin quiz 3

Professional Development

19 Qs

C++ Lambda Expression

C++ Lambda Expression

University - Professional Development

20 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

Quiz 2: Data types & Operators

Quiz 2: Data types & Operators

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Subhasree D

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What will be the output of the following code?

35

33

55

53

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What will be the output of the following code?

A

c

65

55

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

Identify the error in this code

Syntax error

Missing & on number

Datatype error

No error

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

Identify the error in this code

Missing return value

Missing Initialization

Syntax error on print statement

No error

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What does %d denotes in print or scan statements?

Double integer

Decimal integer

Direct allocation

Dynamic allocation

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What will be the output of the following code?

num

%d

Syntax error

Inputted number

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

Identify error in this code

Wrong format specifier

Missing & on print

Missing & on Scan

Wrong declaration type

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?