
C Programming Quiz

Quiz
•
Computers
•
University
•
Medium
Đứ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
Compile time error
1033
103
10 3 somegarbage value
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Module 9

Quiz
•
University
52 questions
OOP Using CPP Quiz 1

Quiz
•
University
50 questions
JavaScript-ITELECTIVE

Quiz
•
University
50 questions
Orientation Quiz

Quiz
•
University - Professi...
50 questions
C Language

Quiz
•
University
50 questions
ITC 112 - Topic 2 Quiz

Quiz
•
University
50 questions
lập trình C2

Quiz
•
University
50 questions
Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University