Fundamentals of C Programming

Fundamentals of C Programming

Professional Development

10 Qs

quiz-placeholder

Similar activities

Your Background

Your Background

Professional Development

7 Qs

Science Day Quiz (subject-Sports and science )

Science Day Quiz (subject-Sports and science )

Professional Development

10 Qs

Biochemistry (Pharma)

Biochemistry (Pharma)

Professional Development

10 Qs

Pre Test Data Capture and Troubleshooting Training (080520)

Pre Test Data Capture and Troubleshooting Training (080520)

Professional Development

10 Qs

CCUS Training Quiz 1

CCUS Training Quiz 1

Professional Development

10 Qs

August APE Quiz

August APE Quiz

Professional Development

11 Qs

freesia general quiz

freesia general quiz

Professional Development

11 Qs

mcq exam_BMLT 3rd Year_11/10/2022

mcq exam_BMLT 3rd Year_11/10/2022

University - Professional Development

10 Qs

Fundamentals of C Programming

Fundamentals of C Programming

Assessment

Quiz

Science

Professional Development

Hard

Created by

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

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?