ClassQuiz1

ClassQuiz1

12th Grade

25 Qs

quiz-placeholder

Similar activities

Santhosh kumar G

Santhosh kumar G

12th Grade

25 Qs

PRACTICE TEST ARDUINO

PRACTICE TEST ARDUINO

11th Grade - University

20 Qs

Profesi, Kewirausahaan, peluang usaha bidang ketenagalistrikan

Profesi, Kewirausahaan, peluang usaha bidang ketenagalistrikan

10th Grade - University

20 Qs

Ag Mech 2023 National Exam

Ag Mech 2023 National Exam

12th Grade - University

25 Qs

PSSK 3

PSSK 3

12th Grade

25 Qs

Final Exam - Introduction to Industri 4.0

Final Exam - Introduction to Industri 4.0

12th Grade

25 Qs

INFORMATIKA PSAS GANJIL KELAS 9

INFORMATIKA PSAS GANJIL KELAS 9

9th Grade - University

25 Qs

ClassQuiz1

ClassQuiz1

Assessment

Quiz

Engineering

12th Grade

Medium

Created by

Rishabh Tomar

Used 3+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a computer program?

A set of instructions that a computer follows.

A type of hardware.

A programming language.

A software application.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of main() function in a C program?

Defines the program's name.

starting point of execution of the code.

Prints output to the console.

Declares variables.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of a semicolon in C?

To start a statement.

To end a statement.

To separate statements.

To declare a variable.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of printf("%d", 5 + 3);

5 + 3

8

53

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does return 0 typically indicate at the end of a `main` function?

An error occurred.

Successful program execution.

The program should continue running.

The program is incomplete.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does scanf("%d", &x); do?

Prints the value of x.

Reads an integer from the user and stores it in x.

Declares a variable x.

Calculates the value of x.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is a logical AND operator?

||

&&

!

=

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?