Basic C language

Basic C language

Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz GASPOL Kanwil I - SAKURA

Quiz GASPOL Kanwil I - SAKURA

Professional Development

10 Qs

NUMERIK - HITUNG CEPAT DAN DERET ANGKA

NUMERIK - HITUNG CEPAT DAN DERET ANGKA

Professional Development

15 Qs

Data Communication

Data Communication

University - Professional Development

12 Qs

اختبار الرخصة التربوي

اختبار الرخصة التربوي

Professional Development

12 Qs

CERDAS CERMAT HUT RSUD SSMA (TRIAL)

CERDAS CERMAT HUT RSUD SSMA (TRIAL)

Professional Development

15 Qs

Day 3 Cutaneous Infections PostTest by Dr Maddineni Srinivas

Day 3 Cutaneous Infections PostTest by Dr Maddineni Srinivas

Professional Development

15 Qs

TOEFL iBT Sentence Insertion Practice

TOEFL iBT Sentence Insertion Practice

Professional Development

13 Qs

NSS Day Quiz

NSS Day Quiz

KG - Professional Development

15 Qs

Basic C language

Basic C language

Assessment

Quiz

Other

Professional Development

Easy

Created by

Dhairyashil Sutar

Used 13+ times

FREE Resource

AI

Enhance your content

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What does the 'printf' function do in C?

A) Reads input from the user.

B) Performs mathematical calculations.

C) Prints output to the console

D) Declares a variable.

Answer explanation

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which keyword is used to define a constant in C?

A) const

B) Float

C) int

D) var

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which data type is used to store whole numbers in C?

A) float

B) char

C) int

D) double

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the symbol used for a single-line comment in C?

A)#

B) ==

C) &&

D) //

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the header file for input and output functions in C?

A) stdio.h

B) iostream.h

C) inputoutput.h

D) conio.h

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the purpose of the 'if' statement in C?

A) Loop through a set of values.

B) Make decisions based on conditions

C) Perform bitwise operations.

D) Declare a new variable

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which symbol is used for the "not equal to" comparison operator in C?

a) ==

b ) <>

c ) !=

d ) /=

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?