Fundamentals of C Programming

Fundamentals of C Programming

Professional Development

10 Qs

quiz-placeholder

Similar activities

Furnace Wiring

Furnace Wiring

Professional Development

10 Qs

Magic Math-Sci-Comp

Magic Math-Sci-Comp

8th Grade - Professional Development

9 Qs

Cara Penanganan Ikan Yang Baik (CPIB) - PRE TEST

Cara Penanganan Ikan Yang Baik (CPIB) - PRE TEST

Professional Development

15 Qs

Quiz for Knowledge

Quiz for Knowledge

KG - Professional Development

10 Qs

CCUS Quiz Module 3

CCUS Quiz Module 3

Professional Development

10 Qs

Python Skills

Python Skills

1st Grade - Professional Development

15 Qs

ADVANCE PLC QUIZ

ADVANCE PLC QUIZ

Professional Development

6 Qs

Patterns of Organization

Patterns of Organization

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?

Discover more resources for Science