C basic

Quiz
•
Computers
•
University
•
Easy

Yh Z
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
On average, people with a college degree earn ______ per week, while people with only a high school diploma make ______ per week.
College: $1009
High School: $952
College: $1110
High School: $985
College: $1305
High School: $781
College: $1062
High School: $881
2.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
1.Who invented C Language.?
Charles Babbage
Grahambel
Dennis Ritchie
Steve Jobs
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
What is the output of the C statement.?
int main()
{
int a=0;
a = 5<2 ? 4 : 3;
printf("%d",a);
return 0;
}
4
3
5
2
4.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Choose a C Conditional Operator from the list.
?:
:?
:<
<:
5.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Which of the following is not a correct variable type?
float
real
int
double
6.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
To print out 'a' as an integer and 'b' as a decimal, which of the following printf() statement will you use?
printf("%f %lf", a, b)
printf("%f %f", a, b)
printf("%d %f", a, b)
printf("%f %d", a, b)
7.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Which of the following is not logical operator?
&
&&
||
!
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C Programming Quiz-1

Quiz
•
University
15 questions
C programming

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
10 questions
C Programming - Basics 001

Quiz
•
University
10 questions
PYTHON BASICS PART 1

Quiz
•
University
6 questions
Unit 5 : Decision Control in C

Quiz
•
University
10 questions
Decision making in C

Quiz
•
University
13 questions
Examen Ordinario Informática VI

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University