
Fundamentals of C Programming

Quiz
•
Science
•
Professional Development
•
Hard
Prabha Janarthanan
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the main programming paradigms?
Imperative
Procedural, Object-Oriented, Functional, Logic, Declarative
Markup
Scripting
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List three applications of the C language.
1. System programming 2. Embedded systems 3. Operating system development
Game development
Web development
Data analysis
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the basic structure of a C program?
The basic structure of a C program includes preprocessor directives, the main function, variable declarations, statements, and a return statement.
Requires a graphical user interface to run.
Consists solely of variable declarations and comments.
Only includes the main function and return statement.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define data types in C programming.
string, boolean, array, and object
int, string, float, and boolean
char, byte, short, and long
The primary data types in C are int, float, double, and char.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are constants in C? Give an example.
int MAX_VALUE = 100;
const float PI = 3.14;
#define MAX_VALUE 100
An example of a constant in C is 'const int MAX_VALUE = 100;'. This defines a constant integer named MAX_VALUE with a value of 100.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are enumeration constants?
Dynamic values defined at runtime.
Values that can change during execution.
Randomly generated values for each instance.
Enumeration constants are fixed named values defined in an enumeration type.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of keywords in C?
To provide comments in the code.
To optimize the performance of the program.
To declare variables and functions.
The purpose of keywords in C is to define the syntax and structure of the program.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Competitive Programming in Software Development | Quiz

Quiz
•
University - Professi...
15 questions
Logo Kereta

Quiz
•
1st Grade - Professio...
15 questions
TechFest 2.0 Quiz 2

Quiz
•
Professional Development
15 questions
Food Safety Level 1

Quiz
•
Professional Development
13 questions
Extraction of zinc and copper

Quiz
•
KG - Professional Dev...
15 questions
Happy Birthday Neha

Quiz
•
Professional Development
10 questions
test

Quiz
•
Professional Development
10 questions
Newcastle United FC

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade