C Programming Quiz

C Programming Quiz

University

51 Qs

quiz-placeholder

Similar activities

Python Basic

Python Basic

University

50 Qs

SOAL SEMESTER 1 KELAS 9 BAHASA INDONESIA 2020/2021

SOAL SEMESTER 1 KELAS 9 BAHASA INDONESIA 2020/2021

3rd Grade - University

50 Qs

Pre-Midterm Review Questions BSME-2A/2B/2C/2D

Pre-Midterm Review Questions BSME-2A/2B/2C/2D

University

55 Qs

11th COMPUTER SCIENCE CH-1 to CH-6 TN SB I-MID

11th COMPUTER SCIENCE CH-1 to CH-6 TN SB I-MID

11th Grade - University

53 Qs

CAD_solidworks

CAD_solidworks

University

51 Qs

ask t2

ask t2

2nd Grade - University

46 Qs

OBJECT ORIENTED ANALYSIS DESIGN

OBJECT ORIENTED ANALYSIS DESIGN

University

50 Qs

CSC 209 Graphics and Visual Computing MIDTERM EXAM

CSC 209 Graphics and Visual Computing MIDTERM EXAM

University

47 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Đức Huy Phạm Minh

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...

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the incorrect definition?

Algorithm: a way to find out a solution

Data: Values are used to describe information. So, information can be called as the mean of data

Solution: A situation in which something is hidden

Information: Knowledge about something

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a C program compiles without any errors or warnings, it means that the syntax of the program is correct, and the compiler successfully translates the code into machine-readable instructions. However, a program can still produce incorrect results if there are in the code.

compilation errors

runtime errors

logic or semantic errors

interpreter errors

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a type of bus in a computer?

Address bus

Signal bus

Control bus

Data bus

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What translates a C source file into machine language so that the computer can execute it?

A compiler

A text editor

A file

A program

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In computers, what are the basic number systems and their corresponding bases used?

Decimal number system (Base-10).

Binary number system (Base-2).

Octal number system (Base-8).

Hexadecimal number system (Base-16).

All answers are correct.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary use of the const keyword when used with function parameters in C?

It prevents the function from modifying the parameter's value

It ensures the parameter is passed by reference

It restricts the parameter's scope to the function

It specifies that the parameter should be initialized

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following C code? #include void main() { } int i= 10, j = 3, k = 3; printf("%d %d ", i, j, k);

Compile time error

1033

103

10 3 somegarbage value

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?

Discover more resources for Computers