ch456713

ch456713

University

99 Qs

quiz-placeholder

Similar activities

Sensory System

Sensory System

University

95 Qs

TO periode 3 : Perka 14, 22, 48 thn'15 + Perka 37 thn'16

TO periode 3 : Perka 14, 22, 48 thn'15 + Perka 37 thn'16

University

102 Qs

Teorie e tecniche nella gestione delle risorse umane

Teorie e tecniche nella gestione delle risorse umane

University

98 Qs

TI403-TIC

TI403-TIC

University

100 Qs

Final Review

Final Review

University - Professional Development

95 Qs

LPSA 2

LPSA 2

10th Grade - University

100 Qs

Simulacro final DERCEAN 2024

Simulacro final DERCEAN 2024

University

100 Qs

DERECHO CONSTITUCIONAL

DERECHO CONSTITUCIONAL

University

100 Qs

ch456713

ch456713

Assessment

Quiz

Other

University

Practice Problem

Easy

Created by

Amrit Selva Ganesh

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

99 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is an lvalue in C?

A) A label name

B) A literal constant

C) An object stored in computer memory

D) An error message

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the statement count++ do?

Sets count to 0

Increments count by 1

Multiplies count by 2

Decreases count by 1

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a correct use of assignment chaining?

i + j + k = 0;

i == j == k == 0;

i = j == k = 0;

i = j = k = 0;

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of

i = 8; j = 4; i *= j++;

printf("%d %d", i, j); ?

32 4

40 5

40 4

32 5

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which form of increment returns the incremented value immediately?

x--

--x

++x

x++

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In a switch statement, what data types can the controlling expression be?

int, char, enum

array

string and float

float and double

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output if grade = 3 ?

switch (grade) { case 4: printf("Excellent"); case 3: printf("Good"); case 2: printf("Average"); case 1: printf("Poor"); case 0: printf("Failing"); }

GoodAveragePoorFailing

Good

GoodAverage

GoodAveragePoor

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?