C Programming Quiz

C Programming Quiz

University

51 Qs

quiz-placeholder

Similar activities

PROGRAMMING IN C CO-1,2

PROGRAMMING IN C CO-1,2

University

50 Qs

Recursion in C/Java/Python

Recursion in C/Java/Python

University

50 Qs

CODE_ASSESMENT

CODE_ASSESMENT

University

50 Qs

Java Exception Handling and String Handling

Java Exception Handling and String Handling

University

49 Qs

Technical Quiz 2022-23

Technical Quiz 2022-23

University

50 Qs

IPTM Midterm EXAM | Sec 2  12 Mar 2021

IPTM Midterm EXAM | Sec 2 12 Mar 2021

University

55 Qs

Quiz on C Operators

Quiz on C Operators

University

49 Qs

ES084 Final Exam

ES084 Final Exam

University

50 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Đức Huy Phạm Minh

Used 3+ times

FREE Resource

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

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?