
C program basic
Authored by Priyanka Chambule
Information Technology (IT)
Professional Development
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What is variable
Variable is a name of memory location
Variable is a data type
Variable means function
Variable is a string
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What is the main purpose of programming?
A) Playing computer games
B) Giving instructions to the computer
C) Only web browsing
D) Writing documents
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Which of the following is NOT a programming language?
A) C
B) HTML
C) Python
D) Java
4.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Which escape sequence is used to insert a horizontal tab?
A) \n
B) \b
C) \t
D) \r
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What does \xhh represent in C programming?
A) Inserts a tab space
B) Represents a character using a hexadecimal value
C) Moves to the next page
D) Represents a null character
6.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What is the output of a compiler?
A) An object code file (machine code)
B) Source code
C) Assembly language
D) An error report only
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
How does an interpreter handle errors?
A) It displays all errors after execution
B) It ignores errors and continues execution
C) It displays errors one by one during execution
D) It corrects errors automatically
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?