nahihirapan lng na questions
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
It is the data type of the value the function returns. | show 🗑
|
||||
show |
Void function
🗑
|
||||
show |
func(int x)
🗑
|
||||
A function can be called from another function using its ____________ | show 🗑
|
||||
To execute the codes of function, the user-defined function needs to be __________. | show 🗑
|
||||
Which if the following is a way to pass an argument in C++? | show 🗑
|
||||
In the function void primeNumber (int n); which of the following is NOT true? | show 🗑
|
||||
show |
Changes to parameter values within the function also affects the original arguments
🗑
|
||||
Which of the following function declaration using the default argument is correct? | show 🗑
|
||||
show |
double myGrade (double p, double q)
🗑
|
||||
Which of the following is a complete function? | show 🗑
|
||||
In C++, arguments to functions always appear within ______________. Group of answer choices | show 🗑
|
||||
If the user didn’t supply the user value means, then what value will the function take? | show 🗑
|
||||
In a program you saw the following: int myFunctionTools(int x) float myFunctionTools(float x) double myFunctionTools(double x, double y) What‘s the best description of the given functions? | show 🗑
|
||||
To call the function startCall() with the number 4432 and 3, what would you write in the main() function? | show 🗑
|
||||
show |
Argument
🗑
|
||||
show | Random access is not possible.
🗑
|
||||
show |
Data Item
🗑
|
||||
show |
Traversing
🗑
|
||||
What is the basic component of a linked list? | show 🗑
|
||||
show |
Circular Linked list
🗑
|
||||
show |
Doubly Linked list
🗑
|
||||
show |
Append
🗑
|
||||
show |
fstream
🗑
|
||||
show |
Text
🗑
|
||||
show | fstream
🗑
|
||||
show |
is_open
🗑
|
||||
It is an identifiable entity with some characteristics and behavior | show 🗑
|
||||
What is the additional feature in classes that were not in structures? | show 🗑
|
||||
show | Class
🗑
|
||||
show |
::
🗑
|
||||
Which of the following are available only in the class hierarchy chain? | show 🗑
|
||||
show |
Encapsulation
🗑
|
||||
Which of the following term is used for a function defined inside a class? | show 🗑
|
||||
show |
Structures can have functions as members
🗑
|
||||
A Function that has its definition or its prototype within the class definition like any other variable. | show 🗑
|
||||
Compares up to num characters of the C string str1 to those of the C string str2 | show 🗑
|
||||
Returns true provided character expression is a lowercase letter otherwise it returns false | show 🗑
|
||||
Which properly declares a variable of struct Person? | show 🗑
|
||||
show | employee.hourlyWage = 75.00;
🗑
|
||||
show |
Person s1, s2;
🗑
|
||||
show |
1 2 3 4 5 6
🗑
|
||||
show | An array is a series of elements of the same type in contiguous memory locations
🗑
|
||||
show |
99
🗑
|
||||
In order to have an array with 2 rows and 9 columns, the correct declaration should be: | show 🗑
|
||||
n a given array int x[3][4] = {{0,1,2,3}, {4,5,6,7}, {8,9,10,11}}; how many columns are there? | show 🗑
|
||||
show |
int myArray2D[8][24];
🗑
|
||||
Which of the following function allows you to read on a character? | show 🗑
|
||||
show |
strncmp()
🗑
|
||||
show |
isprint()
🗑
|
||||
Returns true provided character expression is a lowercase letter otherwise it returns false | show 🗑
|
||||
show |
strcmp()
🗑
|
||||
The sequence of contiguous characters in memory is called _____________ | show 🗑
|
||||
The append operator is denoted by: | show 🗑
|
||||
What does concatenation mean? | show 🗑
|
||||
Returns true if character expression is either a letter or a digit otherwise false | show 🗑
|
||||
show |
strncmp()
🗑
|
||||
show |
length
🗑
|
||||
show | int *ip;
🗑
|
||||
show |
*
🗑
|
||||
Choose the right option: string* x, y; | show 🗑
|
||||
show |
Memory space is allocated during compile time
🗑
|
||||
show |
Pointer
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
bobo ni jabez