Fundamentals of C Programming

Fundamentals of C Programming

12th Grade

20 Qs

quiz-placeholder

Similar activities

SST Yr8 - NCCE - Programming

SST Yr8 - NCCE - Programming

9th - 12th Grade

20 Qs

PHP TEST 2

PHP TEST 2

1st Grade - Professional Development

20 Qs

Array

Array

10th - 12th Grade

20 Qs

Basics of computer

Basics of computer

12th Grade

20 Qs

JAVASCRIPT

JAVASCRIPT

12th Grade

25 Qs

Pointer Arithmetic in C Programming

Pointer Arithmetic in C Programming

9th - 12th Grade

15 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

ICT01: Introduction to MATLAB basics

ICT01: Introduction to MATLAB basics

11th - 12th Grade

18 Qs

Fundamentals of C Programming

Fundamentals of C Programming

Assessment

Quiz

Computers

12th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?