C Programming Concepts

C Programming Concepts

12th Grade

18 Qs

quiz-placeholder

Similar activities

CSS - Computer Systems Services

CSS - Computer Systems Services

12th Grade

20 Qs

Diagramas de Flujo

Diagramas de Flujo

12th Grade

21 Qs

UNIT 3- DATA COMMUNICATION

UNIT 3- DATA COMMUNICATION

12th Grade

20 Qs

System Computer : Al-Azhar

System Computer : Al-Azhar

9th - 12th Grade

20 Qs

History of Computers

History of Computers

6th - 12th Grade

15 Qs

Vocabulary of Computer

Vocabulary of Computer

12th Grade

15 Qs

Asesmen Sumatif

Asesmen Sumatif

12th Grade

15 Qs

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

11th Grade - University

15 Qs

C Programming Concepts

C Programming Concepts

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Wayground Content

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a return statement?

A statement that pauses a function execution.

A statement that ends a function and gives a value back to where the function was called.

A statement that creates a new variable.

A statement that loops through a set of values.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are Parameters of a function?

Parameters are variables used in a function's definition to hold the values passed.

Parameters are the return values of a function.

Parameters are the functions that call other functions.

Parameters are the data types defined in a function.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Differentiate between Global and Local Variables.

Global Variable: Declared inside a function, accessible only within the function. Local Variable: Declared outside all functions, accessible from any function.

Global Variable: Declared outside all functions, accessible from any function. Local Variable: Declared inside a function, accessible only within the function.

Global Variable: A variable that can only be accessed in the main program. Local Variable: A variable that can be accessed anywhere in the program.

Global Variable: A variable that retains its value throughout the program. Local Variable: A variable that loses its value after the function ends.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Call by Reference?

When a function is called by reference, the address of the actual argument variables passed, instead of their values.

When a function is called by value, the actual values of the arguments are passed to the function.

When a function is called, it creates a copy of the variable in memory.

When a function is called, it directly modifies the original variable without any reference.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the members of the class?

Data members are the data variables declared inside the class and member functions are the functions declared inside the class.

Members of the class are the objects created from the class.

Members of the class are the attributes that define the class's behavior.

Members of the class are the methods that can be called on the class.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is arrow operator?

A type of arrow used in graphics

A member selection operator

An operator for creating arrows in programming

A symbol for indicating direction

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is recursion?

A function that calls itself is known as a recursive function and this technique is known as recursion in C programming.

A method of solving problems by breaking them down into smaller subproblems that can be solved independently.

A programming technique that involves using loops to repeat a set of instructions until a condition is met.

A way to optimize code by eliminating unnecessary function calls.

Access all questions and much more by creating a free account

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?