C Programming (Unit- 1) Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Mr undefined
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed the C programming language?
Guido van Rossum
James Gosling
Dennis Ritchie
Bjarne Stroustrup
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid preprocessor directive in C?
@include
#inculde
#include
#define PI 3.14
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the return statement in the main function indicate?
Error in execution
End of program
Start of program
Successful execution
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of token in C?
Functions
Keywords
Identifiers
Constants
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the #define directive?
To include libraries
To define constants
To create functions
To declare variables
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store decimal numbers in C?
string
float
char
int
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: printf("%d", 5 + 3);?
3
5
8
Error
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
20 questions
Processing- The CPU Quiz
Quiz
•
10th Grade - University
15 questions
GK Quiz
Quiz
•
University
15 questions
Selenium Overview
Quiz
•
University
18 questions
The Rise of Intelligent Machines
Quiz
•
8th Grade - University
20 questions
Bootcamp Data Analyst 2
Quiz
•
University
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
15 questions
Chapter 8 - Memory Management Strategies
Quiz
•
University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
