
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
49 questions
Test 1

Quiz
•
University
50 questions
SAINS KOMPUTER TINGKATAN 4 BAB 1

Quiz
•
3rd Grade - University
50 questions
Java Programming Quiz 2-6

Quiz
•
University
50 questions
PF201: SCCPF2012223

Quiz
•
University
54 questions
Unit 2 Final Quizz

Quiz
•
University
50 questions
I CS Quiz 25/9 final

Quiz
•
12th Grade - University
52 questions
c

Quiz
•
University
49 questions
Test 2

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade