
c programming-Test 1
Authored by sirmvit mca
Computers
Professional Development
Used 233+ 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
30 sec • 5 pts
%d format specifier does
used to print an integer value.
used to print a string.
used to display a character value.
used to display a floating point value.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is Global variable
A variable which is declared inside function
A variable which is declared outside function
The scope of a variable is available within a function in which they are declared.
Variables can be accessed only by those statements inside a function in which they are declared.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Who is the father of C language?
Steve Jobs
James Gosling
Dennis Ritchie
Rasmus Lerdorf
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is not a valid C variable name?
int number;
float rate;
int variable_count;
int $main;
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is valid C expression?
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following cannot be a variable name in C?
volatile
true
friend
export
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
Semana 6 - Estructura Secuencial y Condicional
Quiz
•
Professional Development
12 questions
DECI - Week 5 - Time Machine
Quiz
•
Professional Development
10 questions
PLSQL and Cursor Quiz
Quiz
•
Professional Development
10 questions
php- basics
Quiz
•
Professional Development
10 questions
Vlookup Formula in Excel
Quiz
•
Professional Development
10 questions
Java Strings
Quiz
•
1st Grade - Professio...
15 questions
Introduction to PHP
Quiz
•
Professional Development
13 questions
MindSpace Computers C Quiz-1 2025
Quiz
•
Professional Development
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 Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development