C-Volution (Easy 4)

C-Volution (Easy 4)

University

•

30 Qs

quiz-placeholder

Similar activities

HTML Day-2

HTML Day-2

University

•

25 Qs

Introduction to MS - Excel

Introduction to MS - Excel

9th Grade - University

•

25 Qs

Danger online

Danger online

7th Grade - University

•

25 Qs

Finals Quiz

Finals Quiz

University

•

25 Qs

Code.org lesson 3 and 4 quiz

Code.org lesson 3 and 4 quiz

7th Grade - University

•

25 Qs

Ulangan Harian Kelas 8

Ulangan Harian Kelas 8

8th Grade - University

•

25 Qs

PTS Kls 10 Smt Ganjil

PTS Kls 10 Smt Ganjil

10th Grade - University

•

25 Qs

C-Volution (Easy 4)

C-Volution (Easy 4)

Assessment

Quiz

•

Information Technology (IT)

•

University

•

Practice Problem

•

Hard

Created by

Sujal Bhagat

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...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to create a new name for an existing data type?

type

typedef

define

data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the goto statement?

To define a loop.

To transfer control to a labeled statement.

To make decisions based on conditions.

To define a function.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of printf("%d", 30 / 7);?

4.28

4

5

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for bitwise XOR assignment in C?

&=

|=

^=

~=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ! operator do?

Checks for equality.

Performs bitwise NOT.

Checks for inequality.

Performs logical NOT.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid floating-point constant in C?

'1.23'

"1.23"

1.23

123

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet? C int x = 20; if (x == 20) { printf("Twenty");}

Twenty

No output

Error

20

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?