Search Header Logo

Class Test 1 (23-09-2025)

Authored by NIETMADAN M

Computers

University

Used 2+ times

Class Test 1 (23-09-2025)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a single character in C?

int
char
float
string

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can hold decimal numbers?

int
char
float
string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which format specifier is used for int in printf()?

%d
%c
%f
%s

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to check equality?

=
==
!=
#

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator increments the value of a variable by 1?

++
--
(=+)
(+=)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator has the highest precedence?

*
()
%
&&

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10/3 in C (integer division)?

3.333
3
3.3
Error

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?