Quiz Review: Oops!! You Have Scored Below 80%... So Kindly Make Necessary Preparations and Reattempt..
Quiz Review: Oops!! You Have Scored Below 80%... So Kindly Make Necessary Preparations and Reattempt..
Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Arrays
Quiz review
Started on Sunday, 31 March 2024, 7:29 PM
State Finished
Completed on Sunday, 31 March 2024, 7:34 PM
Time taken 5 mins 1 sec
Marks 10.00/20.00
Grade 50.00 out of 100.00
Feedback Oops!! You have scored below 80%... So kindly make necessary preparations and reattempt...
Question 1
Correct
51101
A mathematical quiz context happened in a school and the scores are stored in an array named quizmark. The coordinating person
wants to copy the quiz score into another array named copyquizmark. Which of these options will do that?
Select one:
a.
We cannot copy the values from one array to another.
b.
FOR index <- 0 to n
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 1/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 2
Incorrect
Assume,
Select one:
a. 99
b.
Infinite number of elements
c. 100
d.
The statement gives no clue about the number of elements that can be stored
51101
Your answer is incorrect.
From the given statement, it is predictable that number 99 is assigned to 101 th position of the array. But, there is no clue about the total
size of the array and the number of elements that can be stored
The correct answer is:
The statement gives no clue about the number of elements that can be stored
Question 3
Correct
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 2/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 4
Correct
Which of the following are False with respect to the manipulation of arrays?
b.
It is possible to increase the size of the array
d.
An array can store heterogeneous data
Question 5
Correct
Negative elements can be placed inside an array. State true / false 51101
Select one:
True
False
51101
Size of the array cannot be negative. But the elements stored inside an array can be negative
The correct answer is 'True'.
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 3/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 6
Incorrect
The names of all associates undergoing training are stored in an array named associate_name[50]. The 5th associates’ name is
retrieved as
b.
associate_name[4]
c. associate_name[6]
d.
associate_name[5]
51101
Your answer is incorrect.
since array index starts from 0, the fifth element is accessed is accessed by array[4]. It is possible to perform arithmetic operation in an
array position
The correct answers are:
associate_name[4],
associate_name[3+1]
Question 7
51101
Correct
Select one:
a.
the index of the array
b.
the name of the array
c.
the data type of the array
51101
d. the elements to be stored in the array
It is not mandatory to specify the elements to be stored in the array when declaring an array
The correct answer is: the elements to be stored in the array
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 4/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 8
Incorrect
It is not possible to do a search operation in an array that is not sorted. State True/False.
Select one:
True
False
It is not mandatory to sort an array when searching an element randomly. It can be either sorted or unsorted
The correct answer is 'False'.
Question 9
Correct
Question 10
51101
Incorrect
Select one:
True
51101
False
Elements in an array is stored sequentially and contiguously, and can be accessed in a random manner.
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 5/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 11
Correct
Question 12
Incorrect
51101
Assume you have an array named numbers of size 10.
b. numbers[0] <- 10
c.
numbers[11] <- 6
d. numbers[10] <- 11
51101
Your answer is incorrect.
array index starts from 0 to 9, for 10 elements. Assigning values to numbers[10],numbers[11] is not valid, since the index exceeds the
size of array resulting in unpredictable results
The correct answers are: numbers[0] <- 10, numbers[9] <- 5
51101
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 6/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 13
Incorrect
Select one:
a.
Elements in an array are arranged in descending order by default
c.
Elements in an array are arranged in ascending order by default
51101
Elements in an array are arranged in a contiguous manner and are of fixed size
The correct answer is: Elements in an array are arranged contiguously.
Question 14
Incorrect
Array size or index value is given inside square braces and should be a positive integer value
The correct answer is:
51101
Expression within [ ] should always resolve to a [positive number]
Question 15
Correct
51101
Consider you buy a laptop. You want to store the details of that laptop such as price,
Select one:
a. No
b. Yes
No, It is not possible. An array can store data of same type. since model_name consists of letters, model_no consists of number etc, it is
not possible to the details into a single array
The correct answer is: No
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 7/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 16
Incorrect
List of songs stored in your mobile phone is a good example for Multi dimensional arrays
Question 17
Incorrect
51101
Consider you want to compare the prices of redmi , sony, samsung phones in three online sites like amazon,flipkart,ebay.
Select one:
a.
one-dimensional array
b.
three-dimensional arrays
c. two-dimensional arrays
51101
Your answer is incorrect.
To compare 3 mobile phones in 3 different online sites, 2-d arrays can be used.
51101
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 8/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 18
Correct
It is possible to traverse through an array from the first position to the last and not vice versa. State true or false.
Select one:
True
False
Question 19
Correct
Select one:
a. Two-dimensional array
b.
one-dimensional array
51101
Your answer is correct.
51101
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 9/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
Question 20
Incorrect
Choose the correct Pseudo code to store names in an array and display a name.
a.
BEGIN
INPUT name
PRINT name
END
b.
BEGIN
INPUT name
PRINT name
END
51101
c.
BEGIN
INPUT name
PRINT name
END
51101
d.
BEGIN
INPUT name
END
PRINT name
INPUT name
PRINT name
END
Jump to...
Pre-Quiz ►
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 10/11
3/31/24, 7:38 PM Check Your Understanding: Attempt review
51101
51101
51101
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1600218&cmid=4054 11/11