Data Structure Quiz

0.0(0)
studied byStudied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

Last updated 9:01 PM on 3/20/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

False

True or False| Arrays, stacks, graphs, linked lists, and trees are the examples of a non-linear data structure.

2
New cards

False

True or False| An array element can be accessed by its size

3
New cards

False

True or False | Structures are created so that we can break down huge tasks into smaller subroutines.

4
New cards

Function Definition

This aspect of a function contains the tasks of the function when called. They are enclosed in { and }.

5
New cards

Row

In a two-dimensional array, this value is placed as the first size.

6
New cards

Struct

This is the keyword used in creating a structure in C++,

7
New cards

32

Suppose you have an array of integers arr (32, 45, 67, 89, 109). If the value of int index is 0, and I added the statement cout<<arr[index++];, what will be the output?

8
New cards

Recursive Function

This type of function refers to where they call themselves repeatedly, while the input value changes every turn.

9
New cards

Column

In traversing a two-dimensional array, a nested loop is used. The inner loop is used for this part of the array.

10
New cards

Array

This is a linear data structure that is a container of multiple elements of similar data types. What will be the value of sizeof(int)?

11
New cards

4 Bytes

What will be the value of sizeof(int)?

12
New cards

Void

This keyword is used if the function does not require to return a value.

13
New cards

N-1

How do we find the last index of an array?

14
New cards

Return

This refers to the value that comes from the function after being called.

15
New cards

void showpretty {

Cout <<"Maam Fatima is pretty",

}

Write a function named showPretty, without parameters and a return value, and will display "Ma'am Fatima is pretty." in the console when called. No need to write the name function

16
New cards

False

True or False| There can be multiple main methods in a single C++ program.

Explore top notes

note
1 Corinthians Lecture
Updated 1180d ago
0.0(0)
note
Vietnam War
Updated 765d ago
0.0(0)
note
Developmental Psych Chapter 19
Updated 1266d ago
0.0(0)
note
business + economics
Updated 139d ago
0.0(0)
note
4.17 The Early Romantics
Updated 1186d ago
0.0(0)
note
Psych Lesson 1
Updated 1279d ago
0.0(0)
note
Waves
Updated 287d ago
0.0(0)
note
1 Corinthians Lecture
Updated 1180d ago
0.0(0)
note
Vietnam War
Updated 765d ago
0.0(0)
note
Developmental Psych Chapter 19
Updated 1266d ago
0.0(0)
note
business + economics
Updated 139d ago
0.0(0)
note
4.17 The Early Romantics
Updated 1186d ago
0.0(0)
note
Psych Lesson 1
Updated 1279d ago
0.0(0)
note
Waves
Updated 287d ago
0.0(0)

Explore top flashcards

flashcards
real biologs
40
Updated 83d ago
0.0(0)
flashcards
Cardiovascular Review
42
Updated 1222d ago
0.0(0)
flashcards
religion test
30
Updated 1205d ago
0.0(0)
flashcards
NSTP MIDTERMS EXAM
92
Updated 863d ago
0.0(0)
flashcards
Unidad 4A Vocabulario - A Comer
32
Updated 736d ago
0.0(0)
flashcards
Latin Exam Vocabulary
437
Updated 295d ago
0.0(0)
flashcards
Vocab Quest 5
30
Updated 1074d ago
0.0(0)
flashcards
real biologs
40
Updated 83d ago
0.0(0)
flashcards
Cardiovascular Review
42
Updated 1222d ago
0.0(0)
flashcards
religion test
30
Updated 1205d ago
0.0(0)
flashcards
NSTP MIDTERMS EXAM
92
Updated 863d ago
0.0(0)
flashcards
Unidad 4A Vocabulario - A Comer
32
Updated 736d ago
0.0(0)
flashcards
Latin Exam Vocabulary
437
Updated 295d ago
0.0(0)
flashcards
Vocab Quest 5
30
Updated 1074d ago
0.0(0)