Programming Fundamentals Quiz

Programming Fundamentals Quiz

Vocational training

10 Qs

quiz-placeholder

Similar activities

9-Cpp-1

9-Cpp-1

9th Grade

13 Qs

Quiz 2: C++ Basics

Quiz 2: C++ Basics

University

11 Qs

MindSpace C++ Quiz-1

MindSpace C++ Quiz-1

Professional Development

10 Qs

FOP - CHAPTER 3

FOP - CHAPTER 3

University

10 Qs

C++ podstawy

C++ podstawy

1st Grade

15 Qs

Structura secventiala

Structura secventiala

6th - 8th Grade

8 Qs

Reference and Pointers in C++

Reference and Pointers in C++

6th - 8th Grade

10 Qs

Quiz Bahasa C++ 1

Quiz Bahasa C++ 1

9th - 12th Grade

10 Qs

Programming Fundamentals Quiz

Programming Fundamentals Quiz

Assessment

Quiz

Computers

Vocational training

Hard

Created by

ROSMAYATI PKT

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify CORRECT statement for structures.

It is a collection of variable under a single name.

It is a variable that stores the memory address as its value.

The elements can be accessed individually by using index value.

It is a collection of data storage locations, which holds the same type of data.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Based on the two dimensional array declaration in Figure 1 below, identify y.

index

element

size of row

size of column

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

State how to read the fifth element in an array "supervisor".

price[3]

price[4]

price[5]

price[6]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Based on the two dimensional array in Figure 2 below, what is the value of Staff[1][3].

4

6

7

8

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Based on structure declaration in Figure 3, determine the structure member type for the car structure.

float, int

price, year

toyota, proton

car

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the CORRECT statement about pointer in C++.

It is a collection of data storage locations.

It is a collection of variable under a single name.

It is a block of code which only runs when it is called.

It is a variable that stores the memory address as its value.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the CORRECT answer to call the member selector in structure.

Using =

Using dot

Using member name

Using structure variable name

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?