
C Progamming - 1
Authored by Amit Khomane
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Who is the father of C language?
Steve Jobs
James Gosling
Dennis Ritchie
Rasmus Lerdorf
Answer explanation
Dennis Ritchie is the father of C Programming Language. C programming language was developed in 1972 at American Telephone & Telegraph Bell Laboratories of USA.
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following is not a valid C variable name?
int number;
float rate;
int variable_count;
int $main;
Answer explanation
Since only underscore and no other special character is allowed in a variable name, it results in an error.
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
All keywords in C are in ____________
LowerCase letters
UpperCase letters
CamelCase letters
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
1 min • 10 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
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which is valid C expression?
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;
Answer explanation
Space, comma and $ cannot be used in a variable name.
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
Clase 1 TM Scilab
Quiz
•
University
10 questions
Lenguaje Perl
Quiz
•
University
10 questions
R Quiz
Quiz
•
University
10 questions
Mobile Application UNESA - 2
Quiz
•
University
10 questions
CSNP-04103 Chapter 6 - Functions
Quiz
•
University
10 questions
Classification in Machine Learning2
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
10 questions
ECM3434 Business Analysis 1 - Data Modelling
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
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