
Lesson 1 Introduction to C Programming
Authored by IKHTIARUDDIN IKHWAN
Other
12th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of programming?
To design websites
To instruct computers to perform tasks
To manage databases
To create graphics
Answer explanation
The primary purpose of programming is to instruct computers to perform tasks. While designing websites, managing databases, and creating graphics are applications of programming, the core function is to enable computers to execute commands.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is considered a high-level programming language?
Assembly
C
Python
Machine Code
Answer explanation
Python is considered a high-level programming language because it abstracts complex details and provides a user-friendly syntax, making it easier to write and understand compared to lower-level languages like Assembly or Machine Code.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is C often referred to as in the context of programming languages?
A low-level language
The mother language of all programming languages
An object-oriented language
A scripting language
Answer explanation
C is often referred to as 'the mother language of all programming languages' because it has influenced many modern languages and serves as a foundation for understanding programming concepts.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a compiler do in the C programming process?
Links different source files together
Translates assembly code to machine code
Executes the C program
Checks for syntax errors in the source code
Answer explanation
A compiler checks for syntax errors in the source code, ensuring that the code adheres to the language's rules before it can be translated into machine code or executed.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the preprocessor in C programming?
To link the program with libraries
To compile the source code
To interpret special preprocessor directives
To execute the program
Answer explanation
The preprocessor in C programming interprets special preprocessor directives, such as #include and #define, before the actual compilation process begins. This allows for code inclusion and macro definitions, making it essential for preparing the source code.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a part of the C environment?
Linking
Debugger
Compiler
Preprocessor
Answer explanation
The debugger is a tool used for testing and debugging code, but it is not a core part of the C environment. The C environment primarily consists of the compiler, preprocessor, and linking processes.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What file extension is typically associated with the output of an assembler on a UNIX system?
.exe
.o
.bin
.obj
Answer explanation
.o files are the standard output of assemblers on UNIX systems, representing object files. Other extensions like .exe and .bin are used for executable files, while .obj is more common in Windows environments.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
UK Parliament
Quiz
•
6th - 12th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Jesus
Quiz
•
1st - 12th Grade
10 questions
FABM 2
Quiz
•
12th Grade
10 questions
Puppy
Quiz
•
3rd - 12th Grade
10 questions
Anime Quiz
Quiz
•
KG - Professional Dev...
10 questions
Sustainability Quiz
Quiz
•
1st - 12th Grade
10 questions
Elements of a Contract -Business Law
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade