
Fundamentals of C Programming

Quiz
•
Computers
•
12th Grade
•
Medium
SHARMILI K
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the history of C programming?
C programming was developed in the early 1970s by Dennis Ritchie at Bell Labs.
C programming was developed by Microsoft for Windows.
C programming was created in the 1980s by Bjarne Stroustrup.
C programming is a high-level language developed in the 1960s.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe the structure of a C program.
A C program includes only variable declarations and no functions.
A C program is structured as a single line of code.
A C program consists only of comments and whitespace.
A C program structure includes preprocessor directives, the main function, variable declarations, executable statements, and additional functions.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are pre-processor directives in C?
Pre-processor directives are part of the C runtime library.
Pre-processor directives are used for memory management in C.
Pre-processor directives are commands for the C pre-processor that manage file inclusion, macro definitions, and conditional compilation.
Pre-processor directives are commands that execute at runtime.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List the different data types available in C.
int, float, double, char, void
array
boolean
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of constants and variables in C.
Both constants and variables can be modified during program execution.
Variables are used for memory allocation, and constants are for data types.
Constants are fixed values that cannot change, while variables are storage locations that can hold different values.
Constants can change values at runtime, while variables are fixed.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are operators in C and how are they used?
Operators in C are only applicable to integer data types.
Operators in C are reserved keywords that cannot be changed.
Operators in C are symbols that perform operations on variables and values, used in expressions for calculations, comparisons, and control flow.
Operators in C are only used for arithmetic calculations.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define operator precedence and associativity.
Operator precedence is only relevant in programming languages.
Associativity refers to the number of operators in an expression.
Operator precedence determines the data type of variables.
Operator precedence is the order of operations in expressions, while associativity is the direction of evaluation for operators of the same precedence.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Fundamentals of Programming C++

Quiz
•
9th Grade - University
22 questions
Programming Review

Quiz
•
9th - 12th Grade
25 questions
PHP + MySQL

Quiz
•
7th Grade - University
20 questions
Very Basic Programming

Quiz
•
10th - 12th Grade
21 questions
Data Structures

Quiz
•
9th - 12th Grade
15 questions
Technical Quiz R2

Quiz
•
12th Grade
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
18 questions
Python Pandas-Series

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University