Practice Quizz

Practice Quizz

University

60 Qs

quiz-placeholder

Similar activities

máy điện 1 chiều

máy điện 1 chiều

University

55 Qs

Pre-UAS_ANBI_PSP v1.00

Pre-UAS_ANBI_PSP v1.00

University

62 Qs

5.1.1 - Researching ideas

5.1.1 - Researching ideas

10th Grade - University

55 Qs

Aptitude Test 01

Aptitude Test 01

University

62 Qs

Chương 3

Chương 3

University

58 Qs

DL QUIZ

DL QUIZ

University

55 Qs

Multiple-Choice Questions (MCQ)

Multiple-Choice Questions (MCQ)

University

60 Qs

Corrupción en América Latina

Corrupción en América Latina

University

60 Qs

Practice Quizz

Practice Quizz

Assessment

Quiz

Engineering

University

Practice Problem

Medium

Created by

Rishabh Tomar

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a computer program?

A set of instructions for a computer to follow.

A type of hardware component.

A programming language.

A software application.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid C statement?

print "Hello, world!";

printf("Hello, world!\n");

echo "Hello, world!";

display "Hello, world!";

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a semicolon (;) in C?

To start a new line.

To end a statement.

To separate variables.

To comment out code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `%d` format specifier do in `printf()`?

Prints a floating-point number.

Prints a character.

Prints an integer.

Prints a string.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `scanf()` function do?

Prints data to the console.

Reads data from the console.

Declares a variable.

Ends the program.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `if` statement do in C?

Repeats a block of code.

Executes a block of code conditionally.

Declares a variable.

Defines a function.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `for` loop do in C?

Executes a block of code repeatedly.

Executes a block of code conditionally.

Reads data from a file.

Writes data to a file.

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?