Fundamentals of C Programming

Fundamentals of C Programming

12th Grade

20 Qs

quiz-placeholder

Similar activities

CIW

CIW

9th - 12th Grade

15 Qs

C-Programming Basics

C-Programming Basics

12th Grade

16 Qs

Komunikasi dalam Jaringan

Komunikasi dalam Jaringan

10th - 12th Grade

21 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

Herramientas de Google

Herramientas de Google

12th Grade - University

15 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

SHEET QUIZ

SHEET QUIZ

9th - 12th Grade

15 Qs

Fundamentals of C Programming

Fundamentals of C Programming

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

SHARMILI K

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?