0% found this document useful (0 votes)
230 views117 pages

Fundamental Quizzes

Uploaded by

Kirti Saraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
230 views117 pages

Fundamental Quizzes

Uploaded by

Kirti Saraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 117

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Introduction to Algorithms , Flowcharts & Pseudocode

Quiz review
Started on Monday, 29 January 2024, 5:07 PM
State Finished
Completed on Monday, 29 January 2024, 5:16 PM
Time taken 9 mins 21 secs
Marks 15.00/15.00
Grade 100.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Choose the correct arrangement of mathematical symbols to make the equation true.

a.
600 [‑] 400 [+] 800 [/] 300 [×] 200 = 200

b.
600 [+] 400 [‑] 800 [×] 300 [/] 200 = 200

c. 
600 [×] 400 [/] 800 [-] 300 [+] 200 = 200

d. 45573
600 [/] 400 [+] 800 [‑] 300 [×] 200 = 200

Your answer is correct.


The correct answer is:

600 [×] 400 [/] 800 [-] 300 [+] 200 = 200

Question 2
Correct

Mark 1.00 out of 1.00


45573
Match the symbols and flowchart to its appropriate functionality

Parallelogram Input/output 

Diamond Decision making 

Rectangle Process 

Your answer is correct.


The correct answer is: Parallelogram → Input/output, Diamond → Decision making, Rectangle → Process
Question 3
Correct

Mark 1.00 out of 1.00

Flow chart for adding numbers

Is the given flowchart correct? 45573


Select one:
a. The symbol for start/stop is incorrect

b. The symbol for reading input from the user is incorrect

c. The symbol for process is incorrect

d. The flowchart has no error

Your answer is correct.

45573
Input/output process like reading values, getting input from the user is denoted by parallelogram symbol
The correct answer is: The symbol for reading input from the user is incorrect

45573
Question 4
Correct

Mark 1.00 out of 1.00

Which of the following represents the correct sequence for the given pseudo-code?

BEGIN

-------------

-------------

-------------

-------------

END

a. 
DECLARE variables – number1, number2, result

READ number1 and number2

45573
result <- number1 * number2
PRINT result

b.
DECLARE variables – number1, number2, result

READ number1 and number2

PRINT result

result <- number1 * number2

c.
READ number1 and number2

45573
DECLARE variables – number1, number2, result

result <- number1 * number2

PRINT result

d.
DECLARE variables – number1, number2, result
result <- number1 * number2

READ number1 and number2


PRINT result

45573
Your answer is correct.

The correct answer is:

DECLARE variables – number1, number2, result


READ number1 and number2
result <- number1 * number2
PRINT result
Question 5
Correct

Mark 1.00 out of 1.00

Arrange the words given below in a meaningful sequence.

1. Word 2. Paragraph 3. Sentence 4. Letters 5. phrase

Select one:
a. 4,1,5,3,2

b. 4,1,3,5,2

c. 4,1,5,2,3

d. 4,2,5,1,3

Your answer is correct.


45573
One should first know letters to make a word, then a phrase, then a sentence and finally a paragraph
The correct answer is: 4,1,5,3,2

Question 6
Correct

Mark 1.00 out of 1.00

Match the appropriate Flowchart symbols with its purpose.

Flow direction

Decision making
45573

Connector 

Start/Stop 

Process 

Input/output 

Your answer is correct.


45573
The correct answer is: → Flow direction, → Decision making, → Connector,

→ Start/Stop, → Process, → Input/output


Question 7
Correct

Mark 1.00 out of 1.00

Which of the following represents the correct sequence for the given pseudo-code?

BEGIN
[1] READ mark1, mark2, mark3, mark4, mark5

[2] PRINT average


[3] total < mark1 + mark2 + mark3 + mark4 + mark5
[4] average < total / 5

[5] DECLARE mark1, mark2, mark3, mark4, mark5, total, average


END

a.
51432

b. 1 5 4 3 2
45573
c.
15342

d. 
51342

Your answer is correct.

The correct answer is:

51342
45573
Question 8
Correct

Mark 1.00 out of 1.00

Stephany is learning to draw a flowchart to calculate the area of a circle. Select the appropriate option that would fit into the process
section of the flow chart?

Select one:
45573
a. Check if radius has positive value

b. Area=3.14*radius*radius

c. Print the area

d. Read the value of radius

Your answer is correct.


Any process/action involved in a problem would fit into the process section of a flowchart and should be denoted by the rectangle
symbol. Calculation of area is the process involved in the above problem
The correct answer is: Area=3.14*radius*radius
Question 9
Correct

Mark 1.00 out of 1.00

Which of the following represents the correct sequence for the given algorithm?

a. 
Start
Get the two numbers.

Add the two numbers and store the result in sum.


Display the sum value.
Stop

b.
Get the two numbers.

Start

Add the two numbers and store the result in sum.


Display the sum value.

Stop
45573
c.
Start

Get the two numbers.


Display the sum value.

Add the two numbers and store the result in sum.

Stop

d.

45573
Start

Add the two numbers and store the result in sum.

Get the two numbers.

Display the sum value.


Stop

Your answer is correct.

The correct answer is:

Start
Get the two numbers.
45573
Add the two numbers and store the result in sum.
Display the sum value.
Stop
Question 10
Correct

Mark 1.00 out of 1.00

Choose the correct and meaningful pseudo-code to add two numbers?

Select one:
a.
BEGIN

READ a, b

sum=a+b

PRINT sum
END

b.
Start the process
READ a,b

45573
ADD a,b and store it in sum

Display sum

Stop

c.
BEGIN

READ a, b
sum=add(a,b)

DISPLAY sum

END

d. 

45573
BEGIN

DECLARE number1,number2,sum

READ number1,number2
sum<----number1+number2

PRINT sum

END

Your answer is correct.

Usage of proper indentation, meaningful variable names, and correct logic makes the pseudo-code effective
The correct answer is:
BEGIN
DECLARE number1,number2,sum
45573
READ number1,number2
sum<----number1+number2
PRINT sum
END
Question 11
Correct

Mark 1.00 out of 1.00

Identify the meaningful variable names which can be used?

Select one or more:


a. user1

b. 1num

c. $register_number

d. user name

Your answer is correct.

Variable names should not start with a number, should not have spaces in between, should not start with symbols except dollar( $ ) and
underscore( _ )
The correct answers are: $register_number, user1

Question 12
45573
Correct

Mark 1.00 out of 1.00

Expression is a combination of ___________, ____________ and _______________

Select one or more:


a. variables

b. constants

c. operators

d. keywords
45573
e. functions

Your answer is correct.


Expression is a combination of operands and operators. This operand can be a variable or a constant
The correct answers are: variables, constants, operators

45573
Question 13
Correct

Mark 1.00 out of 1.00

Examine the correct logic with their descriptions

BEGIN
DECLARE principal, number_of_years, rate_of_interest,result
READ principal, number_of_years, rate_of_interest
result <---(principal* number_of_years*, rate_of_interest)/100 calculating simple interest problem 
PRINT result
END

BEGIN
DECLARE radius,circumference
READ radius

45573
circumference <---- 2*3.14*radius calculating the perimeter of a circle 
PRINT circumference
END

BEGIN
DECLARE mark1, mark2, mark3, average
READ mark1, mark2, mark3
average <- (mark1+mark2+mark3)/3 finding the average mark of three subjects 
PRINT average
END

45573
Your answer is correct.

The correct answer is:


BEGIN
DECLARE principal, number_of_years, rate_of_interest,result
READ principal, number_of_years, rate_of_interest
result <---(principal* number_of_years*, rate_of_interest)/100
PRINT result
END
→ calculating simple interest problem,
BEGIN
DECLARE radius,circumference 45573
READ radius
circumference <---- 2*3.14*radius
PRINT circumference
END
→ calculating the perimeter of a circle,
BEGIN
DECLARE mark1, mark2, mark3, average
READ mark1, mark2, mark3
average <- (mark1+mark2+mark3)/3
PRINT average
END
→ finding the average mark of three subjects
Question 14
Correct

Mark 1.00 out of 1.00

Rearrange the pseudo-code for multiplying two given numbers, Choose the correct option from the below.

1 BEGIN

2 result <- number1 * number2


3 PRINT result

4 READ number 1 and number 2

5 DECLARE variables – number1, number2, result


6 END

a. 1 5 4 2 3 6

b.
154326

c. 1 4 5 2 3 6

d. 1 4 5 3 2 6
45573
Your answer is correct.

The correct answer is:


154236

Question 15

45573
Correct

Mark 1.00 out of 1.00

An algorithm described in the form of programming language is Pseudo code 

Your answer is correct.

The correct answer is:


An algorithm described in the form of programming language is [Pseudo code]

◄ Estimation of Total Cost 45573


Jump to...

Crack the puzzles ►



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Selection statements

Quiz review
Started on Thursday, 18 January 2024, 3:08 PM
State Finished
Completed on Thursday, 18 January 2024, 3:09 PM
Time taken 24 secs
Marks 3.00/3.00
Grade 100.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

Analyze the statements. 45573


i)Danny is younger than Edwin

ii)Christine is younger than Danny.

iii)Christine is older than Edwin.

If the first two statements are true, the third statement is

Select one:
a. False

45573
b. uncertain

c. True

Your answer is correct.

Because the first two statements are true, Eric is the youngest of the three, so the third statement must be false.

The correct answer is: False

45573
Question 2
Correct

Mark 1.00 out of 1.00

Assume, there are four boys sitting on a sofa. Mithran is to the left of Anwar. Babu is to the right of Anwar. Edwin is between Anwar and Babu. Who would be
second from the left in the photograph?

Select one:
a. Babu

b. Edwin

c. Anwar

d. Mithran

Your answer is correct.

Mithran is to the left of Anwar and Babu is to his right. Edwin is between Anwar and Babu. So the order is Mithran, Anwar, Edwin, Babu. In
the photograph Edwin will be second from left.

The correct answer is: Edwin 45573


Question 3
Correct

Mark 1.00 out of 1.00

Pointing to a photograph of a boy Mathew said, "He is the son of the only son of my mother." How is Mathew related to that boy?

Select one:
a. Brother

b. Father 45573
c. Uncle

d. Cousin

Your answer is correct.

The boy in the photograph is the son of Mathew. Hence , Mathew is the father of boy.
The correct answer is: Father

◄ Check Your Understanding


45573
Jump to...

Selection statements ►

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Selection statements

Quiz review
Started on Saturday, 13 January 2024, 11:12 AM
State Finished
Completed on Saturday, 13 January 2024, 11:21 AM
Time taken 9 mins 34 secs
Marks 12.00/12.00
Grade 100.00 out of 100.00

Question 1
Correct

Mark 11.00 out of 11.00

END IF
OR number < 1
OR number > 1
PRINT 45573
OR number%7 == 0 ELSE "This balloon cannot fly to Tweety"
"This balloon can fly to Tweety" "Invalid balloon number "
OR number < 50
number > 50
number%3 == 0 AND number%7 == 0

You are provided with a partial pseudocode for the below problem statement. Drag and Drop the options provided so that it will be the
correct pseudocode.
Save Tweety
Silvester and Tweety are friends. Bender was one of the Silvester's enemy. One day Silvester and Tweety went on to a trip. Bender
planned to kidnap Tweety.. He kidnapped and kept her in one of the hot balloons tied up to a height. There were 50 hot balloons
numbered from one. Each balloon will fly to a certain height. Only the numbers having both 3 and 7 as its factors can fly upto the height
of the Tweety's balloon. Silvester was confused and he didn't know which numbered balloon can fly to Tweety. (Note: If balloon number
is greater than 50, or balloon number less than 1, then it should display invalid balloon number)

45573
Eg: Balloon's number:

42
This balloon can fly to Tweety.

Eg:

Enter the Balloon's number:

24

This balloon cannot fly to Tweety.

Pseudocode :
BEGIN
DECLARE variable number

45573
READ number
IF number > 50  OR number < 1  THEN
PRINT "Invalid balloon number " 
ELSE IF number%3 == 0  AND number%7 == 0  THEN
PRINT  "This balloon can fly to Tweety" 
ELSE 
PRINT  "This balloon cannot fly to Tweety" 
END IF 
END
Question 2
Correct

Mark 1.00 out of 1.00

Choose the correct pseudocode for the below problem statement.

Problem Statement :

Hide and Seek

One day, Bunny and his friends were playing hide and seek in the forest. Tom went along to hide. He finds an abandoned bag containing
a board(8x8) game in a cave. He gets excited and starts playing the game only to realizes that it's magical. He has three chances to roll
the dice. Each turn's outcome will lead into a new surrounding and some would be dangerous. If the outcome of rolling dices is in
multiples of 3 then he will be caught in a dangerous phase.

Note if any one outcome is multiple of 3, then tom is in danger.

(If the outcome of rolling dices is either 0 or less than that you should tell Tom as "Invalid Turn". )

Example :

45573
Enter value of turn 1

10

Enter value of turn 2

Enter value of turn 3

Tom is safe

Example :

45573
Enter value of turn 1

12

Enter value of turn 2

Enter value of turn 3

Tom is in danger

a. 
BEGIN

45573
DECLARE variables turn1,turn2,turn3

READ turn1, turn2, turn3

IF turn1>0 AND turn2>0 AND turn3>0 THEN

IF turn1%3==0 OR turn2%3==0 OR turn3%3==0 THEN

PRINT "Tom is in Danger"

ELSE

PRINT "Tom is Safe"

END IF

ELSE

PRINT "Invalid turn"

END IF

END
b.
BEGIN

READ turn1, turn2, turn3

DECLARE variables turn1,turn2,turn3

IF turn1>0 AND turn2>0 AND turn3>0 THEN

IF turn1%3==0 OR turn2%3==0 OR turn3%3==0 THEN

PRINT "Tom is in Danger"

ELSE

PRINT "Tom is Safe"

END IF

ELSE

PRINT "Invalid turn"

END IF

END

45573
c.
BEGIN

DECLARE variables turn1,turn2,turn3

READ turn1, turn2, turn3

IF turn1>0 AND turn2>0 AND turn3>0 THEN


ELSE

PRINT "Tom is Safe"

IF turn1%3==0 OR turn2%3==0 OR turn3%3==0 THEN

PRINT "Tom is in Danger"

END IF

ELSE

PRINT "Invalid turn" 45573


END IF

END

d.
BEGIN

DECLARE variables turn1,turn2,turn3


READ turn1, turn2, turn3

PRINT "Tom is in Danger"

45573
IF turn1>0 AND turn2>0 AND turn3>0 THEN

ELSE
PRINT "Tom is Safe"

IF turn1%3==0 OR turn2%3==0 OR turn3%3==0 THEN


END IF

ELSE
PRINT "Invalid turn"

END IF
END

Your answer is correct.

The correct answer is:


BEGIN
DECLARE variables turn1,turn2,turn3

READ turn1, turn2, turn3


IF turn1>0 AND turn2>0 AND turn3>0 THEN

IF turn1%3==0 OR turn2%3==0 OR turn3%3==0 THEN


PRINT "Tom is in Danger"

ELSE
PRINT "Tom is Safe"

END IF
ELSE

PRINT "Invalid turn"


END IF

END

45573
◄ Land Mark store

Jump to...

Check Your Understanding ►

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Selection statements

Quiz review
Started on Saturday, 13 January 2024, 12:00 PM
State Finished
Completed on Saturday, 13 January 2024, 12:17 PM
Time taken 16 mins 10 secs
Marks 21.00/21.00
Grade 100.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%

45573

45573

45573
Question 1
Correct

Mark 1.00 out of 1.00

Consider the pseudo-code snippet. What output do you think the snippet will produce if the sample input for number is 3?

BEGIN

DECLARE number

READ number

IF number>=0

IF number == 0

PRINT “Zero”

ELSE

PRINT “Three”
ENDIF

PRINT “No Value”

END
45573
Select one:
a.
Zero

No value

b.
Zero

45573
Three

No value

c.
Zero

Three

d. 
Three
No value

Your answer is correct. 45573


In first if condition, 3 is greater than or equal to 0, so execution progresses to the second if statement. The second if statement's test fails because 3 is
not equal to 0. Thus, the else clause attached to the second if statement is executed. So, “Three” is displayed. The final PRINT statement is completely
outside of any if statement, so it always gets executed, and thus “No value” is displayed

The correct answer is:


Three
No value
Question 2
Correct

Mark 1.00 out of 1.00

Identify the logic which suits the flowchart

45573

Select one:
a. Simple if

b. Nested if

c. if else

d. Else-if Ladder

Your answer is correct.


45573
The correct answer is: Else-if Ladder

45573
Question 3
Correct

Mark 1.00 out of 1.00

______________must be used when a set of statements needs to be executed only if a condition is met.

Select one:
a.
Either selection or looping statements

b. 
selection statements

c. Looping statements

Your answer is correct.


45573
selection statements or conditional statements works based on conditions
The correct answer is:
selection statements

Question 4
Correct

Mark 1.00 out of 1.00

When a single if-else logic is used, how many possible choices can be there?

45573
Select one:
a.
3

b. 1

c. 2

d. 0

Your answer is correct. 45573


Single if-else statement can have only two possible ways. Either if part, or else part

The correct answer is: 2


Question 5
Correct

Mark 1.00 out of 1.00

Try some!!!

If a doctor gives you 3 pills and tells you to take one pill every half hour, how long would it take before all the pills had been taken?

Select one:
a. 1 and half hour

b. 
1 hour

c. 2 hours

d.
3 hours

45573
Your answer is correct.
1hour. one pill is taken at the beginning of an hour, second after half an hour, remaining at the end of the hour
The correct answer is:
1 hour

Question 6
Correct

Mark 1.00 out of 1.00

45573
Which of the keyword is used to close the IF block, while writing a pseudo-code?

Select one:
a. End

b. Else

c. Else if

d. End if

45573
Your answer is correct.
The correct answer is: End if
Question 7
Correct

Mark 1.00 out of 1.00

Identify the correct pseudo-code logic for checking a number divisible by 5 or 11.

a.
DECLARE number
READ number

IF number%5==0

THEN
PRINT “number divisible by 5”

ELSE IF number%11==0

THEN

PRINT “number divisible by 11”


ELSE
45573
PRINT “number not divisible by 5 or 11”

END IF

b.
DECLARE number
IF number%5==0

THEN

PRINT “number divisible by 5”


ELSE IF number%11==0

THEN

PRINT “number divisible by 11”


45573
ELSE
PRINT “number not divisible by 5 or 11”

END IF

READ number

BEGIN

c.
DECLARE number

READ number

IF number%5==0
45573
THEN
PRINT “number divisible by 5”

ELSE IF number%11==0

THEN
PRINT “number divisible by 11”

ELSE

PRINT “number not divisible by 5 or 11”

END
BEGIN
d. 
BEGIN

DECLARE number

READ number

IF number%5==0
THEN

PRINT “number divisible by 5”

ELSE IF number%11==0
THEN

PRINT “number divisible by 11”

ELSE

PRINT “number not divisible by 5 or 11”


END IF

END

Your answer is correct.


45573
The correct answer is:

BEGIN
DECLARE number
READ number
IF number%5==0
THEN
PRINT “number divisible by 5”
ELSE IF number%11==0
THEN
PRINT “number divisible by 11”
ELSE
45573
PRINT “number not divisible by 5 or 11”
END IF
END

Question 8
Correct

Mark 1.00 out of 1.00

45573
A computer program must either use conditional statements or looping statements or sequential statements to solve a problem. All of
them must not appear in the same program. State true/ false.

Select one:
True

False 

Your answer is correct.

Program’s flow could have sequential statements, selection statements or Looping statements or combination of all
The correct answer is 'False'.
Question 9
Correct

Mark 1.00 out of 1.00

Decision statements are also called as _______________.

a. Sequence logic

b. Program logic

c. Selection logic

d. Iteration logic

Your answer is correct.

The correct answer is:


Selection logic

Question 10
Correct
45573
Mark 1.00 out of 1.00

By default, the flow of a program is________

Select one:
a. iterative

b. top to bottom

c. conditional

d. bottom to top 45573


Your answer is correct.

The correct answer is: top to bottom

45573
Question 11
Correct

Mark 1.00 out of 1.00

From the option, find the correct pseudo-code to find the greatest of three numbers

Select one:
a. 
BEGIN

DECLARE variables a,b,c


READ a,b,c

IF a>b

IF a>c

PRINT “a”
ELSE

PRINT “c”

45573
ELSE IF b>c

PRINT “b”
ELSE

PRINT “c”

END

b.
BEGIN
DECLARE variables a, b, c

READ a, b, c

IF a<b
IF a<c 45573
PRINT “a”

ELSE

PRINT “c”
ELSE IF b<c

PRINT “b”

ELSE

PRINT “c”

45573
END

c.
BEGIN

DECLARE variables a,b,c

READ a,b,c
IF a>c

PRINT “a”

ELSE
PRINT “c”

ELSE IF b>c

PRINT “b”

ELSE
PRINT “c”
END

Your answer is correct.


Nested if Logic with proper indentation

The correct answer is:


BEGIN
DECLARE variables a,b,c

READ a,b,c
IF a>b
IF a>c
PRINT “a”
ELSE
PRINT “c”
ELSE IF b>c
PRINT “b”
ELSE
PRINT “c”

45573
END

Question 12
Correct

Mark 1.00 out of 1.00

What do you infer from this statement?

“Only if Alvin is happy, then he does not go to work.”

45573
Select one:
a. 
Alvin is not happy and he goes to work.

b. Alvin is happy and he goes to work.

c. Alvin is not happy and he does not go to work

d. Alvin is happy and he does not go to work

Your answer is correct.

The correct answer is:


Alvin is not happy and he goes to work.
45573
Question 13
Correct

Mark 1.00 out of 1.00

Choose the correct options to complete the pseudo-code and determine whether the number is positive, zero, or negative.

BEGIN

DECLARE number

READ number
IF _________

PRINT “Number is positive”

IF _________

PRINT “Number is zero”


IF _________

PRINT “Number is Negative”

45573
END IF
END

a.
number>0, number>0, number==0

b. 
number>0, number==0, number<0

c.
number>0, number==0, number==0

d. 45573
number<0, number>0, number==0

Your answer is correct.

The correct answer is:

number>0, number==0, number<0

45573
Question 14
Correct

Mark 1.00 out of 1.00

Go to statements in the algorithm is…

Select one:
a.
Used in sequential arrangement of steps

b. 
Used to alternate the flow of the program

c. Used to apply decisions in a program

d.
Used to iterate the sequence of steps

Your answer is correct. 45573


Go to statements used to transfer the control flow of a program
The correct answer is:
Used to alternate the flow of the program

Question 15
Correct

Mark 1.00 out of 1.00

45573
If there are 6 chocolates and you take away 4, how many do you have?

Select one:
a. None

b. 4

c. 2

d. 6

Your answer is correct.


The chocolates which you took

The correct answer is: 4


45573
Question 16
Correct

Mark 1.00 out of 1.00

Arrange the pseudo-code logic for checking a number divisible by 5 or 11.

 BEGIN

 DECLARE number
READ number

 IF number%5==0

 THEN
PRINT “number divisible by 5”

 ELSE IF number%11==0

 THEN
45573
PRINT “number divisible by 11”

 ELSE
PRINT ““number not divisible by 5 or 11”

 END IF

 END

45573
Your answer is correct.

Question 17
Correct

Mark 1.00 out of 1.00

You are returning home from a hotel. On the way, you find a sealed envelope in a street, fully addressed with unused stamps on it. What
would you do???

45573
Select one:
a. Open the envelope, find out who has dropped it by mistake, and send it to him if possible.

b. Remove the unused stamps and destroy the envelope.

c. Leave the envelope there as it was and walk away

d. 
post it at the nearest mail box.

Your answer is correct.


The correct answer is:
post it at the nearest mail box.
Question 18
Correct

Mark 1.00 out of 1.00

Which statement logic implements multiple-way selection?

Select one:
a. If-else

b. Simple if

c. Else if ladder

d. Sequential

Your answer is correct.


else if ladder statements are multiple-way branching statements. It decides the execution among several alternatives

45573
The correct answer is: Else if ladder

Question 19
Correct

Mark 1.00 out of 1.00

Manual execution of the steps in the algorithm is called as _____

Select one:
a. Execution

45573
b. Simple Run

c. Dry run

d. compiling

Your answer is correct.

The correct answer is: Dry run

Question 20
Correct

Mark 1.00 out of 1.00

45573
Which of the following is not a keyword used in a pseudo-code

Select one:
a. static

b. End if

c. Start

d. Read

Your answer is correct.

The correct answer is: Start


Question 21
Correct

Mark 1.00 out of 1.00

READ age

IF age>18
THEN
PRINT “Eligible to vote”

ENDIF The given pseudo-code snippet is an example for_______

Select one:
a. 
Simple If logic

b.
Sequence Logic

c.
Else if ladder logic
45573
d. Nested if logic

Your answer is correct.


Simple if logic checks for a single condition and executes the statements

The correct answer is:


Simple If logic

45573
◄ Pseudocode Using Selection Statements - Quiz

Jump to...

Crack the Puzzles ►

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Looping statements

Quiz review
Started on Thursday, 18 January 2024, 3:09 PM
State Finished
Completed on Thursday, 18 January 2024, 3:14 PM
Time taken 4 mins 42 secs
Marks 3.00/3.00
Grade 100.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

Match the following: 45573


I am an odd number; take away an alphabet and I become even. What am I? 7 

Multiply me by myself and you will get the equivalent of adding me to myself.what am I? 2 

I am a number with a couple of friends, quarter a dozen, and you'll find me again. What am I? 3 

Your answer is correct.


The correct answer is: I am an odd number; take away an alphabet and I become even. What am I? → 7, Multiply me by myself and you will get the
equivalent of adding me to myself.what am I? → 2, I am a number with a couple of friends, quarter a dozen, and you'll find me again. What am I? → 3

45573
Question 2
Correct

Mark 1.00 out of 1.00

Take 1 away from me and you get a prime number; add 1 to me and you get twice that prime number.

Select one:
a. 6

b. 3

c. 5
45573
Your answer is correct.
3-1=2
3+1=4
2 square is 4
The correct answer is: 3


Question 3
Correct

Mark 1.00 out of 1.00

Find out the logic of series and complete.

9 = 4, 21 = 9, 22 = 9, 24 = 10, 8 = 5, 7 = 5, 99 = 10, 100 = 7, 16 = ?

Select one:
a. 9

b. 6

c. 7

Your answer is correct.


Number of letters in the spelling of 16.
The correct answer is: 7

45573
◄ Check Your Understanding

Jump to...

Looping statements ►

45573

45573



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Looping statements

Quiz review
Started on Thursday, 18 January 2024, 3:15 PM
State Finished
Completed on Thursday, 18 January 2024, 3:18 PM
Time taken 3 mins 23 secs
Marks 2.00/2.00
Grade 100.00 out of 100.00

45573

45573

45573
Question 1
Correct

Mark 1.00 out of 1.00

Select the appropriate code snippet for the given problem statement provided as pseudocode.

Problem Statement :
Strong number

Check if a given number is a strong number. 145 is a strong number because 1!+4!+5! = 145.

Sample Input :

145

Sample Output :

Strong number

Code:

BEGIN 45573
DECLARE variables number, sum, temp, remainder, fact

READ number

SET sum=0, temp=number

__________________

remainder = number % 10

SET fact = 1

FOR i IN 1 to remainder DO

fact = fact *i

END FOR

sum = sum+ fact


45573
number = number / 10

END WHILE

IF sum==temp THEN

PRINT "Strong number"

ELSE

PRINT "Not a Strong number"

END IF

END
45573
a. WHILE number <= 0

b. WHILE number == 0

c. WHILE number != 0

d. WHILE number < 0

Your answer is correct.

The correct answer is:


WHILE number != 0
Question 2
Correct

Mark 1.00 out of 1.00

Choose the pseudocode for the below problem statement.

Problem Statement :

Vehicle Registration

Mr.William buys a new Audi car. During the vehicle registration, he desires a fancy number in such a way that both the number and its
reverse are the same.

Generate an algorithm to find that fancy number.

Sample Input :

1221

Sample Output :

Number is Fancy

45573
a.
BEGIN

DECLARE variables number, reverse, rem, temp

READ number

SET reverse = 0, temp = number

WHILE number !=0 DO

number = number/10

rem = number%10

45573
reverse = reverse*10 + rem

END WHILE

IF temp == reverse THEN

PRINT "Number is Fancy"

ELSE
PRINT "Number is Not Fancy"

END IF
END

45573
b. 
BEGIN
DECLARE variables number, reverse, rem, temp

READ number
SET reverse = 0, temp = number

WHILE number !=0 DO


rem = number%10

reverse = reverse*10 + rem


number = number/10

END WHILE
IF temp == reverse THEN
PRINT "Number is Fancy"

ELSE
PRINT "Number is Not Fancy"
END IF

END

c.
BEGIN

DECLARE variables number, reverse, rem, temp


READ number

SET reverse = 0, temp = number


WHILE number !=0 DO

rem = number%10
reverse = reverse*10 + rem

number = number/10
END WHILE

IF temp == reverse THEN


PRINT "Number is Not Fancy"

ELSE
45573
PRINT "Number is Fancy"
END IF

END

d.
BEGIN
DECLARE variables number, reverse, rem, temp

READ number
WHILE number !=0 DO

SET reverse = 0, temp = number 45573


rem = number%10

reverse = reverse*10 + rem


number = number/10

END WHILE
IF temp == reverse THEN

PRINT "Number is Fancy"


ELSE

45573
PRINT "Number is Not Fancy"
END IF

END

Your answer is correct.

The correct answer is:

BEGIN

DECLARE variables number, reverse, rem, temp


READ number

SET reverse = 0, temp = number


WHILE number !=0 DO

rem = number%10
reverse = reverse*10 + rem
number = number/10

END WHILE
IF temp == reverse THEN

PRINT "Number is Fancy"


ELSE

PRINT "Number is Not Fancy"


END IF

END

◄ Palindrome problem

Jump to...
45573 Check Your Understanding ►

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Looping statements

Quiz review
Started on Thursday, 18 January 2024, 4:06 PM
State Finished
Completed on Thursday, 18 January 2024, 4:15 PM
Time taken 9 mins 7 secs
Marks 18.90/20.00
Grade 94.52 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Match the appropriate opening and closing blocks in looping statements.

FOR END FOR 

IF END IF 

BEGIN END 

WHILE END WHILE 

Your answer is correct.

45573
The correct answer is: FOR → END FOR, IF → END IF, BEGIN → END, WHILE → END WHILE

Question 2
Correct

Mark 1.00 out of 1.00

Which looping logic is exit controlled?

Select one:
a. While loop

45573
b. For loop

c. do-while loop

Your answer is correct. (Do-while loop logic executes the statements at least once, and finally checks for the condition to be evaluated)
The correct answer is: do-while loop


Question 3
Correct

Mark 1.00 out of 1.00

BEGIN

DECLARE variables i, factorial

SET factorial <-- 1

FOR i<--1 to 5 do

factorial <--factorial * i 

i <-- i+1

END FOR

PRINT factorial

END

Which of the following statement should be inserted to complete the above pseudo code for finding factorial of 5 numbers.

45573
Your answer is correct.
The logic for finding a factorial is factorial * index

The correct answer is:

BEGIN

DECLARE variables i, factorial

SET factorial <-- 1

45573
FOR i<--1 to 5 do

[ factorial <‑‑factorial * i ]

i <-- i+1

END FOR

PRINT factorial

END

Which of the following statement should be inserted to complete the above pseudo code for finding factorial of 5 numbers.

45573


Question 4
Correct

Mark 1.00 out of 1.00

Consider the output: “0, 2, 4, 6, 8 ,10 ,12, 16”

Which of the below given pseudo code snippet gives the above output?

Select one:
a.
BEGIN

DECLARE number, count, even

SET count <-- 16, number <-- 0, even <-- 0

WHILE number<count

PRINT even

SET even <-- even + 2

END WHILE 45573


Number <-- number+ 1

PRINT even

END

b.
BEGIN

DECLARE number, count, even

SET count <-- 8, number <-- 0, even <-- 0

WHILE number<count

PRINT even

SET even <-- even + 1


45573
Number <-- number+ 1

END WHILE
PRINT even

END

c. 
BEGIN

DECLARE number, count, even

45573
SET count <-- 8, number <-- 0, even <-- 0

WHILE number<count
PRINT even

SET even <-- even + 2


number <-- number + 1

END WHILE
PRINT even

END

d.
BEGIN

DECLARE number, count, even


SET count <-- 8, number <-- 0, even <-- 0

WHILE number<count

PRINT even

SET even <-- even + 2


Number <-- number+ 2

END WHILE
END

Your answer is correct.

The correct answer is:


BEGIN
DECLARE number, count, even
SET count <-- 8, number <-- 0, even <-- 0
WHILE number<count
PRINT even
SET even <-- even + 2
number <-- number + 1
END WHILE

45573
PRINT even
END

45573

45573


Question 5
Correct

Mark 1.00 out of 1.00

Predict the output of the given flowchart.

Select one:
a.
2
45573
1

b.
2

c. 
1
2

d.
45573
1
1

Your answer is correct.


Print statement is executed first, and prints count as 1. Count is incremented to 1 and the condition will be checked. When it becomes false, the final
count value 2 gets printed

The correct answer is:

45573
1
2


Question 6
Partially correct

Mark 0.50 out of 1.00

Iteration/looping is a repetition of___________

Select one or more:


a. operation

b. variables

c. single statement

d. Block of statements

Your answer is partially correct. Looping block can have a single statement or block of statements

You have correctly selected 1.


The correct answers are: single statement, Block of statements

Question 7
Correct
45573
Mark 1.00 out of 1.00

Do-while looping statement is almost same as______

Select one:
a. for loop

b. Nested if

c. While loop

d. if-else
45573
Your answer is correct.

The correct answer is: While loop

Question 8
Correct

Mark 1.00 out of 1.00

What is true about FOR LOOP?


45573
Select one:
a. In for loop, the exact number of iterations is known

b. For loop executes the statement without checking the condition

c. For loop cannot be nested

d. For loop executes the statements at least once even if the condition is false

Your answer is correct. In for loop, the exact number of iterations is known and it is entry controlled. For loop can be nested

The correct answer is: In for loop, the exact number of iterations is known


Question 9
Correct

Mark 1.00 out of 1.00

Jack wants to book flight tickets in Feather-Airways’ online portal for his family of five. Passenger details like name, age, gender etc.
should be entered for each member. The same process of getting details continues for all the five members. The above scenario is a
good example for which looping statements?

Select one:
a. For loop

b. While loop

c. Do-while loop

Your answer is correct. When the exact number of iterations is known, For loop can be used

The correct answer is: For loop

Question 10
Correct
45573
Mark 1.00 out of 1.00

What will be the output for WHILE loop?

BEGIN

DECLARE number

SET number <-- 30

WHILE number>0
number <-- number-4
45573
END WHILE

PRINT number

END

Select one:
a. 2

b. 0

c. 4

d. -2 45573
Your answer is correct.

The correct answer is: -2


Question 11
Correct

Mark 1.00 out of 1.00

What is the output for FOR-loop snippet?

FOR i <--1 to 15

PRINT i

i <-- i+3
END FOR

Select one:
a. 1 4 7 10 13

b. 4 7 10 13

c. 4 7 10 13 16

d. 1 4 7 10 13 15 16

45573
Your answer is correct. Value gets incremented by 3, until the number is less than 15

The correct answer is: 1 4 7 10 13

Question 12
Correct

Mark 1.00 out of 1.00

Which of the following symbols is inappropriate in building the flowchart pertaining to sequential flow of program?

Select one:
a. oval 45573
b. parallelogram

c. rectangle

d. diamond

Your answer is correct. In a sequential Flow of a program, Decision making symbol is irrelevant

The correct answer is: diamond

45573


Question 13
Correct

Mark 1.00 out of 1.00

The statement / statements within the loop must get executed at least once except for do-while statement. State True/False.

Select one:

True

False 

Your answer is correct. Looping statements except do-while are entry-controlled that is only if the condition is met it allows the block to
execute. Whereas do-while executes the statement at least once before checking the condition
The correct answer is 'False'.

Question 14
Partially correct
45573
Mark 0.50 out of 1.00

Which of the following statements are true with respect to looping statements?

Select one or more:


a. the condition under which the iterative process should get terminated must be given

b. conditional statements are not allowed within a loop

c. A loop should run infinite number of times

45573
d. initial condition must be applied before the loop begins to execute

Your answer is partially correct. Initial condition must be applied before the loop begins to execute. The iteration must terminate at some point of time. A
looping statement can be nested and can have decision making statements

You have correctly selected 1.


The correct answers are: initial condition must be applied before the loop begins to execute, the condition under which the iterative process should get
terminated must be given

45573


Question 15
Correct

Mark 1.00 out of 1.00

Which of the following statements are true?

Select one or more:


a. The operand in an expression must always be a constant.

b.
The operand in an expression must always be a variable.

c. 
An operand is a mandatory element in an expression.

d. 
The operand in an expression can be a variable or a constant.

Your answer is correct. The operand in an expression can be a variable or a constant. Operator without operand is meaningless

The correct answers are:

45573
An operand is a mandatory element in an expression.,
The operand in an expression can be a variable or a constant.

Question 16
Correct

Mark 1.00 out of 1.00

Consider you have a Rubik cube with different colors in each face. To solve this cube, you will continue to rotate the sides until you reach
same colors in all faces. This is a real time example for which looping statements?

Select one:
a. Nested-if

b. While
45573
c. For

d. Do-while

Your answer is correct. In Rubik cube, you first check for the colours in all sides. If the colours are not the same, the cube is rotated until it attains same
colours in all faces

The correct answer is: While

45573


Question 17
Partially correct

Mark 0.90 out of 1.00

i r d e w n l m p o f g t h a

DOWN:

1) Step by step list of instructions

4) When you know the exact number of iterations, this loop is used

Across:

2)When a process/set of actions is to be repeated, these statements are used.

3) In looping, Each execution of a statement/block of statements is technically termed as______

5) This loop statement is also called as exit-controlled loop


1 4

2
45573
a 

l  o 
f 

o  p   [i]  [n]  [g]


g  r 

o 

3 i  t  e  r  a  t  i  o  n 

i 

t 

5 d  o  w  h  i  l  e 

m 

45573

Your answer is partially correct.

45573


Question 18
Correct

Mark 1.00 out of 1.00

Identify the logic which suits the flowchart?

45573

Select one:
a. for loop

b. nested loop

c. Do-while loop

d. While loop
45573
Your answer is correct. While loop checks for the condition first. Only if it is true, it enters the block. The statements gets repeated until
the condition becomes false.
The correct answer is: While loop

45573


Question 19
Correct

Mark 1.00 out of 1.00

It's Halloween. You go from house to house, tricking or treating. You get 2 candies from each house that you go to. You must return
home once you collect 100 candies. Can you arrange the sequence for this loop activity.

1 BEGIN
2 SET candy count <- 0

3 END WHILE
4 DECLARE candy_count
5 WHILE candy_count<=100

6 candy count <- candy_count+2


7 END

a. 1 4 5 2 3 6 7

45573
b. 1 4 2 5 6 3 7

c.
1423657

d.
1243657

Your answer is correct.


The correct answer is:
1425637

45573
Question 20
Correct

Mark 1.00 out of 1.00

Looping statements are also called ____________

a. Selection logic

45573
b. Iteration logic

c. Program logic

d. Sequence logic

Your answer is correct.

The correct answer is:


Iteration logic

◄ Pseudocode using Loops - Quiz

Jump to...


Crack the puzzles ►

45573

45573

45573



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Arrays

Quiz review
Started on Thursday, 18 January 2024, 4:21 PM
State Finished
Completed on Thursday, 18 January 2024, 4:21 PM
Time taken 21 secs
Marks 3.00/3.00
Grade 100.00 out of 100.00
Feedback Congratulations! You have scored more than 80%.

Question 1
Correct

Mark 1.00 out of 1.00

45573
A farmer has 17 sheep and all but nine die. How many are left?

Select one:
a. 8

b. 9

c. 17

Your answer is correct.

The correct answer is: 9


45573
Question 2
Correct

Mark 1.00 out of 1.00

In a year, there are 12 months. Seven months have 31 days. How many months have 28 days?

45573
Select one:
a. 6

b. 12

c. 5

Your answer is correct.


The correct answer is: 12
Question 3
Correct

Mark 1.00 out of 1.00

What is the next letter in the following sequence? J,F, M, A, M, J, J, A, __.

Select one:
a. S

b. N

c. O

Your answer is correct.

S. The sequence is first letter of the months of the year. September is the next in the sequence.

The correct answer is: S


45573
◄ Check Your Understanding

Jump to...

Arrays ►

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Arrays

Quiz review
Started on Thursday, 18 January 2024, 4:30 PM
State Finished
Completed on Thursday, 18 January 2024, 4:32 PM
Time taken 2 mins 49 secs
Marks 2.00/2.00
Grade 100.00 out of 100.00

45573

45573

45573
Question 1
Correct

Mark 1.00 out of 1.00

Select the appropriate code snippet for the given problem statement provided as pseudocode.

Problem Statement :

Dinner Plan

Five friends plan to go out for dinner. They plan to order equal number of dishes. Each row specifies individual cost. Find the total
amount each person needs to pay.

Assume the values for this matrix for 3 dishes are

12 23 18

45 32 60

42 39 23

54 42 60
25 84 30

The output will be


45573
Amount to be paid by person 1 is 53

Amount to be paid by person 2 is 137

Amount to be paid by person 3 is 104

Amount to be paid by person 4 is 156

Amount to be paid by person 3 is 139

Explanation : Output is the sum of each row

Code:

BEGIN

DECLARE variable arr[5][20], n, sum=0


45573
___________________

FOR j IN 0 to n-1 DO

READ arr[i][j]

END FOR

END FOR

FOR i IN 0 TO 4 DO

SET sum = 0

FOR j IN 0 TO n-1 DO

sum = sum + arr[i][j] 45573


END FOR

PRINT "Amount to be paid by person "+(i+1)+" is "+sum

END FOR

END

a. FOR i IN 0 to 5 DO

b. FOR i IN 0 to 4 DO

c. FOR i IN 0 to n DO

d. FOR i IN 0 to 3 DO
Your answer is correct.

The correct answer is:


FOR i IN 0 to 4 DO

45573

45573

45573
Question 2
Correct

Mark 1.00 out of 1.00

Choose the correct pseudocode for the below problem statement.

Problem Statement :
Find Maximum value

Choose a pseudo code to find the maximum values in each row of a matrix. Assume it is a 3x3 matrix.

Explanation : Matrix will be with index


(0,0) (0,1) (0,2)

(1,0) (1,1) (1,2)


(2,0) (2,1) (2,2)

45573
Assume the values for this matrix are

12 23 18
45 32 60

42 39 23
The output will be

Max value in row 1 is 23


Max value in row 2 is 60

Max value in row 3 is 42

45573
a.
BEGIN
DECLARE variable arr[3][3]

FOR i IN 0 to 2 DO
FOR j IN 0 to 2 DO

READ arr[i][j]
END FOR

END FOR
FOR i IN 0 TO 2 DO

SET max = arr[i][0]


FOR j IN 0 TO 2 DO

IF arr[i][j]>max THEN 45573


max = arr[i][j]

END IF
END FOR

END FOR
PRINT "Max value in row "+(i+1)+" is "+max

END

b.
BEGIN
DECLARE variable arr[3][3]

FOR i IN 0 to 2 DO
FOR j IN 0 to 2 DO
END FOR

END FOR

FOR i IN 0 TO 2 DO

READ arr[i][j]
SET max = arr[i][0]

FOR j IN 0 TO 2 DO
IF arr[i][j]>max THEN

max = arr[i][j]
END IF

END FOR
PRINT "Max value in row "+(i+1)+" is "+max

END FOR
END

c.
BEGIN 45573
DECLARE variable arr[3][3]
FOR i IN 0 to 2 DO

FOR j IN 0 to 2 DO
READ arr[i][j]

END FOR
END FOR

SET max = arr[i][0]

45573
FOR i IN 0 TO 2 DO

FOR j IN 0 TO 2 DO
IF arr[i][j]>max THEN

max = arr[i][j]
END IF

END FOR
PRINT "Max value in row "+(i+1)+" is "+max

END FOR
END

d.
BEGIN 45573 

DECLARE variable arr[3][3]


FOR i IN 0 to 2 DO

FOR j IN 0 to 2 DO
READ arr[i][j]

END FOR
END FOR

FOR i IN 0 TO 2 DO
SET max = arr[i][0]

FOR j IN 0 TO 2 DO
IF arr[i][j]>max THEN

max = arr[i][j]
END IF
END FOR

PRINT "Max value in row "+(i+1)+" is "+max


END FOR

END

Your answer is correct.

The correct answer is:

BEGIN

DECLARE variable arr[3][3]


FOR i IN 0 to 2 DO

FOR j IN 0 to 2 DO

READ arr[i][j]

END FOR
END FOR
45573
FOR i IN 0 TO 2 DO

SET max = arr[i][0]

FOR j IN 0 TO 2 DO
IF arr[i][j]>max THEN

max = arr[i][j]

END IF

END FOR

45573
PRINT "Max value in row "+(i+1)+" is "+max

END FOR

END

◄ Find the order

Jump to...

Check Your Understanding ►

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Arrays

Quiz review
Started on Friday, 19 January 2024, 2:48 PM
State Finished
Completed on Friday, 19 January 2024, 2:52 PM
Time taken 4 mins 5 secs
Marks 18.50/20.00
Grade 92.50 out of 100.00
Feedback Congratulations! You have scored more than 80%.

Question 1
Correct

Mark 1.00 out of 1.00

45573
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. copyquizmark[n] <- quizmark[n]

b.
copyquizmark <- quizmark

c. 
FOR index <- 0 to n

45573
copyquizmark[index] <- quizmark[index]

index <- index+1

END FOR

d.
We cannot copy the values from one array to another.

Your answer is correct.

45573
Using for loop helps to copy the elements from one array to another array
The correct answer is:
FOR index <- 0 to n
copyquizmark[index] <- quizmark[index]
index <- index+1
END FOR
Question 2
Correct

Mark 1.00 out of 1.00

Assume,

number[100] <- 99.


How many elements can be stored inside the array variable number?

Select one:
a. 99

b. 100

c.
Infinite number of elements

d. 
The statement gives no clue about the number of elements that can be stored

45573
Your answer is correct.

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

45573
Mark 1.00 out of 1.00

Map the scenario to its appropriate array type

Matrix multiplication 2D ARRAY 

To create a list of all prime numbers below 100 1D ARRAY 

Your answer is correct.


The correct answer is:
Map the scenario to its appropriate array type 45573
Matrix multiplication [2D ARRAY ]

To create a list of all prime numbers below 100 [1D ARRAY]


Question 4
Correct

Mark 1.00 out of 1.00

Which of the following are False with respect to the manipulation of arrays?

Select one or more:


a.
An array can store homogeneous data.

b. 
An array can store heterogeneous data

c. 
It is possible to increase the size of the array

d. Elements of array are stored in contiguous memory

Your answer is correct. 45573


An array can store homogeneous data. Elements of array are stored in contiguous locations and it is not possible to increase the array
size
The correct answers are:
It is possible to increase the size of the array ,
An array can store heterogeneous data

Question 5
Correct

45573
Mark 1.00 out of 1.00

Negative elements can be placed inside an array. State true / false

Select one:
True 

False

Your answer is correct.

45573
Size of the array cannot be negative. But the elements stored inside an array can be negative
The correct answer is 'True'.
Question 6
Partially correct

Mark 0.50 out of 1.00

The names of all associates undergoing training are stored in an array named associate_name[50]. The 5th associates’ name is retrieved
as

Select one or more:


a. associate_name[6]

b.
associate_name[3+1]

c.
associate_name[5]

d. 
associate_name[4]

45573
Your answer is partially correct.

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
You have correctly selected 1.
The correct answers are:
associate_name[4],
associate_name[3+1]

Question 7
Correct
45573
Mark 1.00 out of 1.00

Information about ___________ need not be specified when declaring an array

Select one:
a. the elements to be stored in the array

b.
the data type of the array

c.
the index of the array 45573
d.
the name of the array

Your answer is correct.

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
Question 8
Correct

Mark 1.00 out of 1.00

It is not possible to do a search operation in an array that is not sorted. State True/False.

Select one:

True

False 

Your answer is correct

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

Mark 1.00 out of 1.00


45573
The operation of ordering the elements in the list is known as Sorting  .

Your answer is correct.

Sorting is the process of ordering the elements


The correct answer is:

45573
The operation of ordering the elements in the list is known as [Sorting].

Question 10
Correct

Mark 1.00 out of 1.00

Random access is not possible in an array. State True/False

Select one:
True

False 
45573
Your answer is correct.
Elements in an array is stored sequentially and contiguously, and can be accessed in a random manner.
The correct answer is 'False'.
Question 11
Correct

Mark 1.00 out of 1.00

Index  is used to locate an element in an array.

Your answer is correct.


The correct answer is:
[Index] is used to locate an element in an array.

Question 12
Correct

Mark 1.00 out of 1.00

45573
Assume you have an array named numbers of size 10.

Which of the assignment is valid?

Select one or more:


a.
numbers[11] <- 6

b. 
numbers[9] <- 5

c. numbers[0] <- 10

d. numbers[10] <- 11
45573
Your answer is correct.

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

45573
Question 13
Correct

Mark 1.00 out of 1.00

Which of the following statements is correct with respect to arrays?

Select one:
a.
Elements in an array are arranged in ascending order by default

b. Elements in an array are arranged contiguously.

c.
Elements in an array are arranged in descending order by default

Your answer is correct.

45573
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
Correct

Mark 1.00 out of 1.00

Expression within [ ] should always resolve to a positive number 

Your answer is correct.


45573
Array size or index value is given inside square braces and should be a positive integer value
The correct answer is:
Expression within [ ] should always resolve to a [positive number]

Question 15
Correct

Mark 1.00 out of 1.00

45573
Consider you buy a laptop. You want to store the details of that laptop such as price,

model_name,model_number, warranty_period into a single array named details[10]. Is ths possible?

Select one:
a. No

b. Yes

Your answer is correct.

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
Question 16
Correct

Mark 1.00 out of 1.00

List of songs stored in your mobile phone is a good example for single-dimensional arrays 

Your answer is correct.


one-d array is enough to store the list of songs in mobile phones.
The correct answer is:
List of songs stored in your mobile phone is a good example for [single‑dimensional arrays]

Question 17
Correct

Mark 1.00 out of 1.00

45573
Consider you want to compare the prices of redmi , sony, samsung phones in three online sites like amazon,flipkart,ebay.

Which array type is best suitable to do this comparision?

Select one:
a.
one-dimensional array

b. two-dimensional arrays

c.
three-dimensional arrays
45573
Your answer is correct.

To compare 3 mobile phones in 3 different online sites, 2-d arrays can be used.

The correct answer is: two-dimensional arrays

45573
Question 18
Correct

Mark 1.00 out of 1.00

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 

Your answer is correct


an Array can be traversed from first to last and vice versa
The correct answer is 'False'.

Question 19
Incorrect

Mark 0.00 out of 1.00


45573
An Array consists of rows and columns is also called as________

Select one:
a. Three dimensional array

b. 
one-dimensional array

c. Two-dimensional array
45573
Your answer is incorrect.

A matrix consists of rows and columns, also known as Two-dimensional arrays


The correct answer is: Two-dimensional array

45573
Question 20
Correct

Mark 1.00 out of 1.00

Choose the correct Pseudo code to store names in an array and display a name.

a.
BEGIN
INPUT name

DECLARE name [20]

PRINT name

END

b.
BEGIN

INPUT name

PRINT name

45573
DECLARE name [20]

END

c.
BEGIN

INPUT name
DECLARE name [20]

END

PRINT name

d.
BEGIN

45573
DECLARE name [20]

INPUT name

PRINT name
END

Your answer is correct.


The correct answer is:
45573
BEGIN

DECLARE name [20]

INPUT name

PRINT name
END

◄ Pseudocode using Arrays - Quiz

Jump to...

Pre-Quiz ►
45573

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Engineering Fundamentals

Quiz review
Started on Friday, 19 January 2024, 2:53 PM
State Finished
Completed on Friday, 19 January 2024, 2:54 PM
Time taken 1 min 7 secs
Marks 6.00/6.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
ABC company comes to the Allen Software Company with various requirement. The client wants the functionality to view all the employee profile, view
salary information of the employee and view the leave details.Once each functionality is completed the module will be delivered to the client. Which would
be the right model for this scenario

Select one:
a. Scrum

b. Incremental model

c. Spiral model

d. Throwaway prototyping model

Your answer is correct.

The correct answer is: Incremental model


45573
Question 2
Correct

Mark 1.00 out of 1.00

A client wants to develop a Web application for the new Super market store. The client want to have lot of UI components and customers
will have lot of interactions with the UI. What model is best suited

Select one:
a. Prototype
45573
b. Spiral

c. Waterfall model

Your answer is correct.

The correct answer is: Prototype


Question 3
Correct

Mark 1.00 out of 1.00

________ involves tranformation of user needs into an effective software solution.

Select one:
a. Software development process

b. Software Testing

c. Software Analysis

d. Software design process

Your answer is correct.

The correct answer is: Software development process

Question 4
Correct
45573
Mark 1.00 out of 1.00

Spiral life cycle model is not suitable for products that are vulnerable to large number of risks. State if True or False.

Select one:
a. FALSE

b. TRUE

Your answer is correct. 45573


The correct answer is: FALSE

Question 5
Correct

Mark 1.00 out of 1.00

When there is a difference between the output what is expected and the actual one is termed as……

45573
Select one:
a. Specification

b. Verification

c. Defect

d. Validation

Your answer is correct.


The correct answer is: Defect
Question 6
Correct

Mark 1.00 out of 1.00

XYZ Finance Co. has, at present, started its operations in India. Based on the first six months performance, it has plans for expansion
across five countries. They want to automate their operations at this stage. What is the process model that the developer should choose
to adopt?

Select one:
a. Evolutionary prototyping model

b. Spiral model

c. Incremental model

d. Waterfall model

Your answer is correct.

45573
The correct answer is: Evolutionary prototyping model

◄ Check Your Understanding

Jump to...

Software Engineering - Video ►

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Engineering Fundamentals

Quiz review
Started on Friday, 19 January 2024, 2:55 PM
State Finished
Completed on Friday, 19 January 2024, 2:57 PM
Time taken 2 mins 39 secs
Marks 6.00/6.00
Grade 100.00 out of 100.00
Feedback Congratulations!!You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Testing performed by the user to ensure that the system meets the agreed upon quality attributes and the specification is called as….

Select one:
a. System testing

b. Acceptance testing

c. Integration testing

d. Unit testing

Your answer is correct.


The correct answer is: Acceptance testing
45573
Question 2
Correct

Mark 1.00 out of 1.00

Which model emphasizes Validation and Verification at each level of stage containment?

Select one:
a. RAD

b. Spiral model

c. V-Model
45573
d. Throwaway prototyping

Your answer is correct.


The correct answer is: V-Model
Question 3
Correct

Mark 1.00 out of 1.00

Consider that you have to develop a flight control system. The system is simulated as such that the original system is working. There are
many potential hazards with such a system. What model would you suggest to develop the system?

Select one:
a. Spiral model

b. Evolutionary prototyping

c. Waterfall model

d. Throwaway prototyping

Your answer is correct.


The correct answer is: Spiral model

Question 4
45573
Correct

Mark 1.00 out of 1.00

Scenario: LIC has manually carried out their process of premium collection procedure for the past 45 years. Now, they have employed
the services of another company to automate the above.

Question: Which of the following models would you suggest to the outsource company?

Select one:

45573
a. Evolutionary prototyping

b. Throwaway prototyping

c. Waterfall model

d. Spiral model

Your answer is correct.

The correct answer is: Waterfall model

45573
Question 5
Correct

Mark 1.00 out of 1.00

Choose the option that accurately represents the sequential order of phases in the Waterfall model.

a.
Analysis, Requirement Gathering, Design, Implementation, Testing, Deployment, Maintenance

b. 
Requirement Gathering, Analysis, Design, Implementation, Testing, Deployment, Maintenance

c.
Requirement Gathering, Analysis, Design, Implementation, Testing, Maintenance, Deployment

45573
d.
Requirement Gathering, Analysis, Design, Testing, Implementation, Deployment, Maintenance

Your answer is correct.


The correct answer is:

Requirement Gathering, Analysis, Design, Implementation, Testing, Deployment, Maintenance

Question 6

45573
Correct

Mark 1.00 out of 1.00

Match the correct E,T,V,X (Entry,Task,Verify,Exit) criteria for the below scenario

Developing HLD and LLD Artifacts Task 

Review of the artifacts Verfication 

Reviewed design document Exit 

Input containing the reviewed SRS Entry 

Your answer is correct.


45573
The correct answer is: Developing HLD and LLD Artifacts → Task, Review of the artifacts → Verfication, Reviewed design document → Exit, Input containing
the reviewed SRS → Entry

◄ Software Development Process Models II

Jump to...

Check Your Understanding ►



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Engineering Fundamentals

Quiz review
Started on Friday, 19 January 2024, 3:15 PM
State Finished
Completed on Friday, 19 January 2024, 3:18 PM
Time taken 3 mins 37 secs
Marks 8.00/8.00
Grade 100.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Which conforms that the software meets its technical specifications?

Select one:
a.
Design

b. Defect finding

c.
Verification
 45573
d.
Validation

Your answer is correct.

45573
Verification conforms that the software meets its technical specifications
The correct answer is:
Verification
Question 2
Correct

Mark 1.00 out of 1.00

The software is put into operation in the client’s environment. The client comes back to enhance the UI to attract more customers. This
phase is called as ­_______________

Select one:
a.
Development

b. 
Maintenance

Your answer is correct.


45573
Any change that is made to the software after it is deployed is known as maintenance
The correct answer is:
Maintenance

Question 3
Correct

Mark 1.00 out of 1.00

45573
Match the appropriate usage of the SDLC process models, based on the nature of requirements

When the requirements are unstable Use the Evolutionary prototype 

When the requirements are unclear Use the Throw away prototype 

Your answer is correct.

When the requirements are unclear use the Throw away prototype and when the requirements are unstable use the evolutionary
prototype
The correct answer is: When the requirements are unstable → Use the Evolutionary prototype, When the requirements are unclear → Use the Throw away

45573
prototype
Question 4
Correct

Mark 1.00 out of 1.00

Which of the below is one of the phase of the prototype model?

a. Quick design

b. Detailed Coding

c. Detailed HLD phase

d. Extensive testing

Your answer is correct.


The correct answer is:
Quick design

Question 5
Correct
45573
Mark 1.00 out of 1.00

Match the phases of the Rapid Application Development model against their objectives

Business modeling
The information flow is identified between various modules 

Testing and turnover New components along with all the interfaces are tested 

Process modeling
45573
Data objects are converted to achieve the business objective 

Application generation
Automated tools are used to convert process models into the actual system 

Data modeling Information gathered from business modeling is used to define data objects 

Your answer is correct.

45573
Business modeling - information flow between various modules, Data modeling - define data objects, Process modeling - CRUD of data
objects are determined, Application generation - convert process models into the actual system,Testing and turnover - new
components are tested

The correct answer is:


Business modeling → The information flow is identified between various modules, Testing and turnover → New components along with all the interfaces
are tested,
Process modeling → Data objects are converted to achieve the business objective, Application generation → Automated tools are used to convert process
models into the actual system,
Data modeling → Information gathered from business modeling is used to define data objects
Question 6
Correct

Mark 1.00 out of 1.00

High-risk or major functions are addressed in the first cycles there by delivering an operational product. Which of the SDLC process
models achieves this?

Select one:
a. RAD model

b. Incremental model

c. Spiral Model

d. Waterfall model

Your answer is correct.

High-risk or major functions are addressed in the first increment cycles and each release delivers an operational product

45573
The correct answer is: Incremental model

Question 7
Correct

Mark 1.00 out of 1.00

Beta technologies has undertaken a collision avoidance system software to be implemented for airports. Additional safety measures
have to be automated by warning pilots when another aircraft gets closer, otherwise impacts are huge. Which of the following SDLC
process models best suits the requirement?

45573
Select one:
a. Waterfall model

b. V model

c. Spiral model

d. Evolutionary prototyping model

Your answer is correct.

45573
Spiral model is used when risks perceived is high
The correct answer is: Spiral model
Question 8
Correct

Mark 1.00 out of 1.00

The student mark processing system software has been developed and deployed at the St. Peters university. The system shows the
grade as 0 for all the students rather than the actual grade. Which phase below was not done properly during the SDLC?

Select one:
a.
Software Design

b. 
Software Testing

c. Software Maintenance
45573
d.
Software Analysis

Your answer is correct.

Testing is done on the software product developed to find defects

The correct answer is:


Software Testing 45573
◄ Post-Quiz

Jump to...

Run-Through ►

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Phases of Software Engineering

Quiz review
Started on Monday, 29 January 2024, 5:29 PM
State Finished
Completed on Monday, 29 January 2024, 5:30 PM
Time taken 1 min 21 secs
Marks 5.00/5.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Requirement came to Allen Software company to develop a software for military purpose. .00001 second delay in the missile launching
software would create greater loss to the human life. What kind of model is best suited for this scenario?

Select one:
a. Agile

b. Waterfall model

c. Spiral model

d. Prototype

Your answer is correct.

Spiral model is used for high risk projects


45573
The correct answer is: Spiral model

Question 2
Correct

Mark 1.00 out of 1.00

During which phase the following activities are performed: Identifying the major modules of the system, how these modules integrate,
the architecture of the system and describing pseudo code for each of the identified module

Select one: 45573


a. Design

b. Maintenance

c. Feasibility

d. Analysis

Your answer is correct.

Identifying the major modules of the system, how these modules integrate, the architecture of the system and describing pseudo code
for each of the identified module are performed during the design phase
The correct answer is: Design


Question 3
Correct

Mark 1.00 out of 1.00

Aesthetics of the website is part of the functional requirement. State true or false

Select one:
a. TRUE

b. FALSE

Your answer is correct.


The correct answer is: FALSE

Question 4
Correct

45573
Mark 1.00 out of 1.00

_________ is the application of a systematic, disciplined, quantifiable approach to the design, development, operation and maintenance of
software.

Select one:
a. Software Testing

b. Requirement Engineering

c. Software Engineering

Your answer is correct.

The correct answer is: Software Engineering


45573
Question 5
Correct

Mark 1.00 out of 1.00

_______ describes how the development activities will be performed and how development phases follow each other.

Select one:
a. Process

b. Design
45573
c. Software Engineering

d. Software Development Process

Your answer is correct.


The correct answer is: Software Development Process

◄ Run-Through

Jump to...

Requirement Analysis - Video ►

45573

45573

45573



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Phases of Software Engineering

Quiz review
Started on Monday, 29 January 2024, 5:32 PM
State Finished
Completed on Monday, 29 January 2024, 5:35 PM
Time taken 2 mins 20 secs
Marks 6.00/6.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
What kind of non functional requirement best suit the below scenario: Whenever the new offers are published in the online shopping
site, an sms has to be sent to all the registered customers within 10 minutes of publishing

Select one:
a. Usability Requirement

b. Portability Requirement

c. Security Requirment

d. Performance Requirement

Your answer is correct.


The correct answer is: Performance Requirement
45573

45573
Question 2
Correct

Mark 1.00 out of 1.00

Choose the correct type of testing for the given Scenario

Testing to check if 1000000 users accessing website at the same point of time Load Testing

Testing to check if the report is generated within 5 sec on click of the button as agreed in the SRS Performance Testing

Testing to test the GUI components in the screen Usability Testing



Testing to check if the card is swiped for more than three times with wrong pin, the card has to be Security Testing
blocked

45573
Your answer is correct.

Testing that ensures software systems and applications are free from any vulnerabilities, or risks - Security Testing

Determining how the application behaves when multiple users access it simultaneously - Load Testing

Testing to determine user's ease to use the application, and its flexibility - Usability Testing
Determining the responsiveness and stability of the system - Performance Testing
The correct answer is: Testing to check if 1000000 users accessing website at the same point of time → Load Testing, Testing to check if the report is
generated within 5 sec on click of the button as agreed in the SRS → Performance Testing, Testing to test the GUI components in the screen → Usability
Testing, Testing to check if the card is swiped for more than three times with wrong pin, the card has to be blocked → Security Testing

Question 3

45573
Correct

Mark 1.00 out of 1.00

Consider the below scenario. A team has many players and the player belongs to one team. Identify the cardinality between player and
team

Select one:
a. 1:M

b. M:M

c. 1:1

45573
d. M:1

Your answer is correct.


The correct answer is: M:1
Question 4
Correct

Mark 1.00 out of 1.00

Whenever a new product is arrived, the stock needs to be updated. This requirement is an example for non functional requirement. State
true or False

Select one:
a. FALSE

b. TRUE

Your answer is correct.

The correct answer is: FALSE

Question 5

45573
Correct

Mark 1.00 out of 1.00

Which of the following are available in SRS Document?

Select one or more:


a. Non Functional Requirements

b. Design

c. Functional Requirements

d. Constraints

Your answer is correct.


45573
The correct answers are: Functional Requirements, Non Functional Requirements, Constraints

Question 6
Correct

Mark 1.00 out of 1.00

Identify the possible entities from the given option

Select one or more:


a. SalesID
45573
b. Customer

c. Sale

d. customerAge

Your answer is correct.


The correct answers are: Customer, Sale

◄ Software Design and Coding


Jump to...

Check Your Understanding ►

45573

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Phases of Software Engineering

Quiz review
Started on Friday, 19 January 2024, 10:27 PM
State Finished
Completed on Friday, 19 January 2024, 10:29 PM
Time taken 1 min 47 secs
Marks 6.00/6.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Which of the following options are the steps involved in Requirements Analysis?

Select one or more:


a. Requirements Specification

b. Analysis of the gathered requirements

c. Requirements Elicitation

d. 
Requirements Gathering

Your answer is correct. 45573


Requirements Gathering phase is followed by the Analysis of the gathered requirements

The correct answers are:

Requirements Gathering, Analysis of the gathered requirements

Question 2
Correct

Mark 1.00 out of 1.00

45573
From the below options, identify the role of the system analyst.

a. Creates high level test cases

b. Creates SRS

c. Writes pseudo code for the given module

d. Creates HLD document

Your answer is correct.


The correct answer is:
Creates SRS
Question 3
Correct

Mark 1.00 out of 1.00

Identify the correct statements from the below options.

a. Analysis is performed followed by low level design and then high level design

b. Analysis is performed followed by High level design and then Low level design

c. High level design, Low level design followed by Analysis is performed.

d. Analysis or High level design or Low level design can be performed in any order

Your answer is correct.


The correct answer is:
Analysis is performed followed by High level design and then Low level design

Question 4
Correct
45573
Mark 1.00 out of 1.00

Match the correct objectives of each phase involved in Requirements Engineering

Requirements Documents all the requirements properly


Specification 

Requirements Elicitation

45573
Gathering requirements from the users, customers and other stake holders

Requirements Analysis

Analyzing the customer and the user/stakeholder to arrive at a definition of software requirements

Your answer is correct.


45573
1. Requirements Elicitation - Gathering requirements from the users and customers
2. Requirements Analysis - Analyzing the customer and the user/stakeholder to arrive at a definition of software requirements
3. Requirements Specification - Documents all the requirements properly in SRS

The correct answer is:


Requirements Specification → Documents all the requirements properly,

Requirements Elicitation → Gathering requirements from the users, customers and other stake holders,

Requirements Analysis → Analyzing the customer and the user/stakeholder to arrive at a definition of software requirements
Question 5
Correct

Mark 1.00 out of 1.00

Identify the type of design that helps in transforming the data model created during requirements analysis phase into the data structures
that will be used to implement the software

Select one:
a. Data Design

b. Interface design

c. Architectural design

d. GUI Design

Your answer is correct.

45573
Data Design helps in creating the data architecture for a system to represent the data components

The correct answer is: Data Design

Question 6
Correct

Mark 1.00 out of 1.00

Match the objectives of the types of design involved

Architecture design
45573
Defines the modules of the system and the functions that each module perform 

Low Level Design Focuses on writing a detailed algorithm 

Interface design Describes how the software communicates with itself, and with the users interacting with the software 

Your answer is correct.

45573
Architecture design defines the modules of the system and the functions that each module perform
The interface design describes how the software communicates with itself, and with the users interacting with the software

Low Level Design focuses on writing a detailed algorithm

The correct answer is:

Architecture design → Defines the modules of the system and the functions that each module perform, Low Level Design → Focuses on writing a detailed
algorithm,

Interface design → Describes how the software communicates with itself, and with the users interacting with the software

◄ Post-Quiz
Jump to...

Run-Through ►

45573

45573

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Phases of Software Engineering

Quiz review
Started on Friday, 19 January 2024, 10:37 PM
State Finished
Completed on Friday, 19 January 2024, 10:37 PM
Time taken 25 secs
Marks 3.00/3.00
Grade 100.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
What does come down but never goes up? _______

What can one catch that is not thrown? _______

What goes up and down, but always remains in the same place? _______

what word that changes a girl into a woman? _______

Choose the correct answer:

a.
Stairs, Cold, Stairs, Age

b.
Age, Rain, Stairs, Cold 45573
c. 
Rain, Cold, Stairs, Age

d.
Cold, Rain, Stairs, Age

Your answer is correct.


The correct answer is:
45573
Rain, Cold, Stairs, Age


Question 2
Correct

Mark 1.00 out of 1.00

A lady buys goods worth Rs.200 from a shop. (shopkeeper is selling the goods with zero profit). The lady gives him Rs.1000 note. The
shopkeeper gets the change from the next shop and keeps Rs.200 for himself and returns Rs.800 to the lady. Later the shopkeeper of
the next shop comes with the Rs.1000 note saying “duplicate” and takes his money back.
How much LOSS did the shopkeeper face?

Select one:
a. 200

b. 800

c. 2000

d. 1000

Your answer is correct. 45573


The duplicate money Rs.1000 is the only loss cost. Now at last it is in the hand of shopkeeper and hence he faces loss of Rs.1000 only.
The correct answer is: 1000

Question 3
Correct

Mark 1.00 out of 1.00

You are in a race and overtake the person who is in second place. What place are you now in?

Select one:
45573
a. Second

b. First

c. Third

Your answer is correct.


Though you overcome the second person ,you were still behind first one.

The correct answer is: Second

45573
◄ Run-Through

Jump to...

Pre-Quiz ►



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Testing

Quiz review
Started on Friday, 19 January 2024, 10:38 PM
State Finished
Completed on Friday, 19 January 2024, 10:41 PM
Time taken 3 mins 39 secs
Marks 6.00/6.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
The standard document that describes all the requirements of the system is called as …

Select one:
a. Test Case Document

b. Software Requirement Specification

c. User Requirement Specification

d. Contract Document

Your answer is correct.


45573
The correct answer is: Software Requirement Specification

Question 2
Correct

Mark 1.00 out of 1.00

Client Comes to Allen Company for a Banking Solution.Which phase of SDLC is best suited to gather what is expected from client

Select one:
a. Feasibility Analysis

b. System Analysis
45573
c. Customer Analysis

d. Requirement analysis

Your answer is correct.

The correct answer is: Requirement analysis


Question 3
Correct

Mark 1.00 out of 1.00

In remote control Car application, in the step by step execution of the requirement described, it is mentioned when the fuel level goes
below the minimum level, the application should indicate the user in red color. In the output section of the same process it is mentioned
that the indicator will glow pink. What is the kind of requirement specified in SRS?

Select one:
a. Consistent

b. Complete

c. Contradicting

d. Incomplete

Your answer is correct.

45573
The correct answer is: Contradicting

Question 4
Correct

Mark 1.00 out of 1.00

Client Comes to Allen Company for a Banking Solution. Who from the below options would be best suited to gather all the requirements
correctly from the client

Select one:
a. Analyzer

b. System Architect

c. Database Analyst
45573
d. System analyst

Your answer is correct.


The correct answer is: System analyst

45573


Question 5
Correct

Mark 1.00 out of 1.00

An SRS has the following requirement.The stock exchange shall show the stock report for the next 24 hours.What is the issue with this
requirement

Select one:
a. In correct

b. Ambiguous

c. Inconsistent

d. Requirement is Correct

Your answer is correct.


The correct answer is: Ambiguous

Question 6
45573
Correct

Mark 1.00 out of 1.00

A good SRS should be ______, ________ and _______.

Select one or more:


a. Complete

b. Traceable

c. Periodical

d. Consistent
45573
Your answer is correct.

A good SRS should be complete, consistent and traceable


The correct answers are: Traceable, Consistent, Complete

◄ Crack the Puzzles

Jump to... 45573


Software Testing - Video ►



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Testing

Quiz review
Started on Friday, 19 January 2024, 10:42 PM
State Finished
Completed on Friday, 19 January 2024, 10:44 PM
Time taken 2 mins 30 secs
Marks 7.00/7.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
The testing technique that deals with the internal logic and structure of the code is called ________.

Select one:
a. WhiteBox Testing

b. Pure Box Testing

c. Logical Testing

Your answer is correct.

The correct answer is: WhiteBox Testing

Question 2
45573
Correct

Mark 1.00 out of 1.00

In the online shopping portal, for customer registration the password field can accept only characters in the range of 5 to 25. Derive test
cases using Boundary value analysis

Select one:
a. 6,24,10,25

b. 5,25,4,26

c. 5,25,6,24
45573
d. 5,25,26,3

Your answer is correct.


The correct answer is: 5,25,4,26


Question 3
Correct

Mark 1.00 out of 1.00

Walk through is performed by the trained moderator, whereas the Inspection is usually conducted by the author itself to record defects and deviations

Select one:

True

False 

Walk through is conducted by the author itself and the Inspection is led by a trained moderator
The correct answer is 'False'.

Question 4
Correct

Mark 1.00 out of 1.00

45573
Determine the cyclomatic complexity for the following code:

Accept year

if(year mod 4=0 and year mod 100!=0) or(year mod 400 =0)

print year is leap

else

print year is not leap

end if.

45573
Select one:
a. 5

b. 3

c. 6

d. 4

Your answer is correct.

The cyclomatic complexity for the given code is 4


The correct answer is: 4

45573


Question 5
Correct

Mark 1.00 out of 1.00

Tester is trying to test whether the values in the drop down are listed properly.

What type of testing the tester performs in this scenario?

Select one:
a. Regression Testing

b. White box Testing

c. Acceptance Testing

d. Black box testing

Your answer is correct.

In Black box testing functionality of the software is tested and not the internal implementation of the code

45573
The correct answer is: Black box testing

Question 6
Correct

Mark 1.00 out of 1.00

After implementation of Library management system, the tester identified that certain logic are redundantly rewritten by the developers,
and the coding standards are violated in few modules. What type of testing is carried out to identify these errors?

Select one:

45573
a. Static Testing

b. dynamic testing

c. debugging

d. error guessing

Your answer is correct.

Static Testing is a software testing method where the code of the software and the work products, that is, the associated documents are
observed and tested manually to find errors
The correct answer is: Static Testing

45573


Question 7
Correct

Mark 1.00 out of 1.00

Boundary value analysis can only be used during white-box testing. State if True or False.

Select one:
a. TRUE

b. FALSE

Your answer is correct.

The correct answer is: FALSE

◄ Dynamic testing

Jump to... 45573


Check Your Understanding ►

45573

45573



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Testing

Quiz review
Started on Monday, 29 January 2024, 5:38 PM
State Finished
Completed on Monday, 29 January 2024, 5:48 PM
Time taken 10 mins 15 secs
Marks 8.00/8.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Identify this technique of dynamic testing where, For a range of input, three values are chosen, One value above the range, One value
below the range, and One value within the range

Select one:
a. Equivalence partitioning 

b. Error Guessing

c. Cause Effect Graphing

d. Boundary Value Analysis

e. Cause Effect Analysis

Your answer is correct.


45573
Equivalence class partitioning divides the input domain into classes of data from which test cases can be derived
The correct answer is: Equivalence partitioning

Question 2
Correct

Mark 1.00 out of 1.00

45573
What is the difference between the actual output of a software and the correct output?

Select one:
a. Fault

b. Error

c. Defect

d. Bug

Your answer is correct.

Error – is the difference between the actual output of a software and the correct output
The correct answer is: Error
Question 3
Correct

Mark 1.00 out of 1.00

Match the objectives of the phases of Software Testing Life Cycle

Test Design
Test scenarios, test cases, test data, and test scripts are prepared 

Test Plan

Resource allocation, creation of test environment, test schedule and test functionality 

Test Execution Executing test scripts and Finding bugs 

45573
Your answer is correct.

The test plan describes how tests will be performed and involves Resource allocation, creation of test environment, test schedule and
test functionality
In Test Design, the Test scenarios, test cases, test data, and test scripts are prepared

Test Execution involves Executing test scripts and Finding bugs

The correct answer is: Test Design

→ Test scenarios, test cases, test data, and test scripts are prepared,

45573
Test Plan → Resource allocation, creation of test environment, test schedule and test functionality, Test Execution → Executing test scripts and Finding
bugs

45573
Question 4
Correct

Mark 1.00 out of 1.00

Match the roles involved in Static Testing

Moderator Leads the review process 

Inspector Inspecting the document 

Scribe Records each defect found 

Author
Writer of the ‘document under review’ 

Reader
Presents the document 

Your answer is correct.


45573
Author is the writer of the ‘document under review’, Moderator is the one who leads the review process, Reader is the one who presents
the document, Recorder/Scribe records each defect found, and Inspector is responsible for inspecting the document

The correct answer is: Moderator → Leads the review process, Inspector → Inspecting the document, Scribe → Records each defect found,
Author → Writer of the ‘document under review’, Reader → Presents the document

Question 5
Correct

Mark 1.00 out of 1.00

45573
What is the type of testing in which the tester will know about the input and the expected output details based on the specification
document only but no knowledge on implementation?

Select one:
a. Regression Testing

b. White Box Testing

c. Black Box Testing

d. Integration Testing

e. Usability Testing

Your answer is correct.


45573
In Black box testing functionality of the software is tested without the knowledge of the internal implementation of the code
The correct answer is: Black Box Testing
Question 6
Correct

Mark 1.00 out of 1.00

Identify the correct phases of software testing life cycle.

a. Requirements Analysis,Test Case development,Test Preparation,Test Environment Set up,Test Execution,Test Cycle closure

b. Requirements Analysis,Test Preparation,Test Case development,Test Environment Set up,Test Execution,Test Cycle closure

c. Requirements Analysis,Test Preparation,Test Case development,Test Environment Set up,Test Cycle closure,Test Execution

d. Requirements Analysis,Test Preparation,Test Case development,Test Execution,Test Environment Set up,Test Cycle closure

Your answer is correct.

The correct answer is:


Requirements Analysis,Test Preparation,Test Case development,Test Environment Set up,Test Execution,Test Cycle closure

Question 7
Correct
45573
Mark 1.00 out of 1.00

Match the objectives against the techniques of generating test cases in black box testing

State Transition Diagram Involves actions as one of its components 

Cause Effect Analysis It is suitable for applications in which combinations of input conditions are few 

Cause Effect Graphing The causes and effects represent the nodes 

45573
Your answer is correct.

Cause Effect Analysis - It is suitable for applications in which combinations of input conditions are few

Cause Effect Graphing - The causes and effects represent the nodes
State Transition Diagram - involves actions as one of its components
The correct answer is: State Transition Diagram → Involves actions as one of its components,
Cause Effect Analysis → It is suitable for applications in which combinations of input conditions are few, Cause Effect Graphing → The causes and effects
represent the nodes

45573
Question 8
Correct

Mark 1.00 out of 1.00

Which all of the following options would basis path testing perform?

Select one or more:


a. 
Condition or Branch Coverage

b. 
Statement Coverage

c. Test Case Coverage

d. Loop Coverage

Your answer is correct.


45573
Every statement(Statement coverage)
Every predicate (condition) in the code(branch coverage)

Loops (loop coverage)

The correct answers are:


Statement Coverage,
Condition or Branch Coverage, Loop Coverage

◄ Post-Quiz
45573
Jump to...

Run-Through ►

45573

 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Configuration Management

Quiz review
Started on Friday, 19 January 2024, 11:14 PM
State Finished
Completed on Friday, 19 January 2024, 11:16 PM
Time taken 1 min 39 secs
Marks 7.00/7.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Client wanted to add a new feature to his existing application "Discount Offers" for all the existing customers. Whenever a new product
comes to the supermarket, their customer's should be intimated with the week day offer. What kind of maintenance is this?

Select one:
a. Perfective Maintanence

b. Corrective Maintanence

c. Preventive Maintanence

d. Adaptive Maintanence

Your answer is correct.


45573
Perfective maintenance involves making functional enhancements to the system
The correct answer is: Perfective Maintanence

Question 2
Correct

Mark 1.00 out of 1.00

Any changes done to the software during the operational phase of the software before project wind up is called as maintenance. State if
True or False.

Select one: 45573


a. TRUE

b. FALSE

Your answer is correct.

Any change that is made to the software after it is deployed is known as maintenance
The correct answer is: FALSE


Question 3
Correct

Mark 1.00 out of 1.00

Software maintenance for the change of the platform is an example for --------- maintenance

Select one:
a. Adaptive

b. Preventive

c. Perfective

d. Corrective

Your answer is correct.

Adaptive maintenance involves adapting the software to changes in the working environment or platform
The correct answer is: Adaptive

Question 4
45573
Correct

Mark 1.00 out of 1.00

In an online shopping application, during customer registration the customer was made to enter his city in a text box. As the site became
popular for online shopping, the client came back to include autocomplete feature in the city field to improve user friendliness. What
maintenance needs to be carried out in this scenario?

Select one:

45573
a. Preventive

b. Perfective

c. Corrective

d. Adaptive

Your answer is correct.

The correct answer is: Perfective

45573


Question 5
Correct

Mark 1.00 out of 1.00

Y2K problem is an example for ------------- maintenance

Select one:
a. Perfective

b. Adaptive

c. Corrective

d. Preventive

Your answer is correct.

Preventive maintenance is the changes made to the system to prevent occurrence of errors in future
The correct answer is: Preventive

Question 6
45573
Correct

Mark 1.00 out of 1.00

In Software maintenance, changes are implemented by modifying existing components and adding new components to the system.
State if True or False.

Select one:
True 

45573
False

In maintenance, changes are implemented by modifying existing components and adding new components to the system
The correct answer is 'True'.

Question 7
Correct

Mark 1.00 out of 1.00

45573
Client has developed an application that allows each of their customers to store 2TB of data. As the number of Customers are
increasing client feels the storage space has to be increased for smooth operations to its customers. What type of maintanence is this?

Select one:
a. Adaptive Maintanence

b. Corrective Maintanence

c. Perfective Maintanence

d. Preventive Maintanence

Your answer is correct.

The correct answer is: Preventive Maintanence


◄ Run-Through

Jump to...

Software Configuration Management - Video ►

45573

45573

45573



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Configuration Management

Quiz review
Started on Monday, 29 January 2024, 5:50 PM
State Finished
Completed on Monday, 29 January 2024, 5:59 PM
Time taken 9 mins 31 secs
Marks 8.00/8.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
From the options identify the features that are part of the software configuration management

Select one or more:


a. Support management

b. Synchronisation control

c. Concurrency control

d. Version management

Your answer is correct.

45573
The correct answers are: Version management, Concurrency control, Synchronisation control

Question 2
Correct

Mark 1.00 out of 1.00

_________ is a committee that makes decisions regarding whether or not proposed changes to a software project can be incorporated.

Select one:
a. Updation Control Board

b. Modify Control Board

c. Change Control Board 45573


d. Decision Committee

The correct answer is: Change Control Board


Question 3
Correct

Mark 1.00 out of 1.00

Match the correct option

Who authenticates that the change proposed is valid Change Control Board 

Process that ensures different versions of the project is managed Configuration Management 

The standard document where the requester fills the change in the change management process Change Request Form 

Process that ensures that changes made are recorded and controlled Change Management 

Your answer is correct.

The document in which requester fills the change in the change management process - Change Request Form
Who authenticates that the change proposed is valid - Change Control Board

45573
Process that ensures that changes made are recorded and controlled - Change Management

Process that ensures different versions of the project is managed - Configuration Management
The correct answer is: Who authenticates that the change proposed is valid → Change Control Board, Process that ensures different versions of the project
is managed → Configuration Management, The standard document where the requester fills the change in the change management process → Change
Request Form, Process that ensures that changes made are recorded and controlled → Change Management

Question 4
Correct

Mark 1.00 out of 1.00

artifact SRS baseline version 45573


The entry door of the Server room inside the company can be considered as equivalent to baseline  concept in configuration
management

Baseline is a Specification or product that has been formally reviewed and agreed upon, that thereafter serves as the basis for further
development

45573
Question 5
Correct

Mark 1.00 out of 1.00

Which of the following describes the change history of an object?

Select one:
a. Review Graph

b. Evolution graph

c. Baseline

d. Check-out

Evolution Graph describes the change history of an object


The correct answer is: Evolution graph
Question 6
Correct

Mark 1.00 out of 1.00

State true or false. Automated tools are available in the market, for managing change and versioning the software

Select one:
a. TRUE

b. FALSE

Your answer is correct.


The correct answer is: TRUE

Question 7
Correct

45573
Mark 1.00 out of 1.00

Adaptive Perfective Preventive Corrective

John bought a new Laptop with a high end configuration. To protect his laptop and the applications installed he installed a antivirus
software.This is an example for Preventive  Maintenance

Question 8
Correct

Mark 1.00 out of 1.00

45573
Version Management allows parallel concurrent development. State True or False.

Select one:
a. True

b. False

The correct answer is: True

◄ Software Configuration Management


45573
Jump to...

Check Your Understanding ►



 Dashboard / Primer 2.0 - App Dev / Stage 1 / Software Fundamentals / Software Configuration Management

Quiz review
Started on Monday, 29 January 2024, 6:06 PM
State Finished
Completed on Monday, 29 January 2024, 6:09 PM
Time taken 2 mins 19 secs
Marks 5.00/5.00
Grade 100.00 out of 100.00
Feedback Congratulations!! You have passed by securing more than 80%

Question 1
Correct

Mark 1.00 out of 1.00

45573
Which of the following options are valid for the relationship between the configuration objects?

Select one or more:


a. 
A curved arrow indicates a compositional relation

b. A curved arrow indicates an interrelationship

c. A double-headed straight arrow indicates an interrelationship

d. A double-headed straight arrow indicates compositional relation

Your answer is correct. 45573


A curved arrow indicates a compositional relation.
A double-headed straight arrow indicates an interrelationship.

The correct answers are: A curved arrow indicates a compositional relation, A double-headed straight arrow indicates an interrelationship

45573
Question 2
Correct

Mark 1.00 out of 1.00

Match the following facts about Version Management

When a member of the team wants his code to work in isolation


Create branches 

If a file is changed and we want to roll back to the previous version


Automatic backup 

Lock a file
Serialized changes to file. 

45573
Your answer is correct.

If a file is changed and we want to roll back to the previous version - Automatic backup.

Lock a file - Serialized changes to file.

When a member of the team wants his code to work in isolation - Create branches.

The correct answer is: When a member of the team wants his code to work in isolation → Create branches, If a file is changed and we want to roll back to
the previous version → Automatic backup, Lock a file → Serialized changes to file.

Question 3
Correct

Mark 1.00 out of 1.00

45573
Version Control Configuration Management Configuration audit Change Management

Configuration audit  is responsible for reviewing the items against various specifications for assessing its quality and
correctness

45573
Configuration audit is responsible for reviewing the items against various specifications for assessing its quality and correctness
Question 4
Correct

Mark 1.00 out of 1.00

Version Control allows users to lock files so they can only be edited by one person at a time and track changes to files

Select one:

True 

False

Version control is a mechanism used to manage multiple versions of files

The correct answer is 'True'.

Question 5

45573
Correct

Mark 1.00 out of 1.00

Choose the missing steps involved in the Change Control Process in the correct order:

1. Identify and submit change request

2. ____________

3. Plan the change

4. Implement and test the change

5. Verify implementation of change

45573
6. Close change request

a. Collect impacts of change request

b. Review stakeholder feedback

c. Evaluate impacts of change request

d. Analyze the cost of the proposed change

Your answer is correct.


The correct answer is:
Evaluate impacts of change request 45573
◄ Post-Quiz

Jump to...

Run-Through ►

You might also like