Prasnya
Prasnya
Prasnya
Continue with Google
Prasnya
Continue with Google
Week 1 Computational Thinking Questions | Prasnya
Computational Thinking > Week 1
All PYQs
Topic-Wise PYQs
Start Weekly Test
Mock tests
Week mock
Topic mock
Subject mock
Type:
All
Difficulty:
All
Year:
All
14Q
01
Match the following expressions in the Column 1 with the appropriate values in Column 2.
Single correct
MEDIUM
4 marks
26 October 2025
02
Consider the flowchart shown below. Which of the following pseudocode is correct for the given flowchart?
Single correct
EASY
5 marks
13 July 2025
03
Match the following expressions in Column 1 with the appropriate values in Column 2.
Single correct
EASY
2 marks
23 February 2025
04
The given information represents a "Shopping Bill" and it may have some mistakes with respect to the sanity of data. Identify all rows with such mistakes. It is a Multiple Select Question (MSQ).
Multiple correct
MEDIUM
4 marks
27 October 2024
05
The given information represents the "Scores" dataset and it may have some mistakes with respect to the sanity of data. Identify all rows with such mistakes. It is a Multiple Select Question (MSQ).
Multiple correct
EASY
3 marks
07 July 2024
06
The following pseudocode is executed using the "Words" dataset. What will `count` represent at the end of execution? ``` count = 0 while(Table 1 has more rows){ Read the first row X in Table 1 Move X to Table 2 i = 1, A = False, B = False while(i <= X.LetterCount){ if(ith letter of X.Word is a vowel){ if(A){ B = True } A = True } else{ A = False } i = i + 1 } if(B){ count = count + 1 } } ```
Single correct
MEDIUM
3 marks
25 February 2024
07
The given information represents a "Words" dataset and it may have some mistakes with respect to the sanity of data. Identify all rows with such mistakes.
Multiple correct
EASY
4 marks
25 February 2024
08
The following pseudocode is executed using a dataset similar to the "Words" dataset, based on the following paragraph. "Surrounded by nature, Susan often takes a stroll, savoring the soothing sounds of chirping birds. Such moments underline the significance of embracing simple joys in life. Rustlings in the trees suggest squirrels beginning their day, searching for sustenance. Surely, the beauty of a sunrise holds unparalleled magic." ``` count = 0, flag = True while(Table 1 has more rows){ Read the first row X in Table 1 Move X to Table 2 if(flag){ if(1st letter of X.Word == 's'){ if(2nd letter of X.Word == 'u'){ count = count + 1 } } } flag = False if(X.Word ends with full stop){ flag = True } } ``` What would be the value of `count` at the end of the execution of the above pseudocode? Assume that upper case and lower case are ignored during comparison of letters.
Numerical
MEDIUM
3 marks
25 February 2024
09
Match the following expressions on the left side with the appropriate values on the right side.
Single correct
EASY
2 marks
29 October 2023
10
The following pseudocode is executed using the "Words" dataset. What will `A` represent at the end of the execution? ``` A = 0 while(Table 1 has more rows){ Read the first row X in Table 1 i = 1, B = 0 while(i <= X.LetterCount){ if(ith letter of X.Word is a vowel){ B = B + 1 } i = i + 1 } if(B > 2){ A = A + 1 } Move X to Table 2 } ```
Single correct
EASY
3 marks
16 July 2023
11
Let the value of `X` be "aeroplane". What is the value of `A` at the end of the execution of the pseudocode? ``` i = 1 A = 1 while(i <= X.LetterCount){ if(ith letter of X is a vowel){ A = A * 2 } i = i + 1 } ```
Numerical
EASY
3 marks
16 July 2023
12
Select the most appropriate datatype specific to "Scores" dataset for the left column.
Single correct
EASY
2 marks
16 October 2022
13
A long word is defined as a word having at least 6 letters. The given pseudocode is used to find the average number of letters per word for long words from the "Words" dataset. Choose the correct code fragment to complete the pseudocode. ``` letterCount = 0, wordCount = 0, avgLetPerWord = 0 while(Table 1 has more rows){ Read the first row X in Table 1 *************** * Fill the code * *************** } avgLetPerWord = letterCount / wordCount ```
Single correct
MEDIUM
3 marks
05 June 2022
14
The following pseudocode is executed using the "Words" dataset. What will `A` represent at the end of the execution? ``` A = 0 while(Table 1 has more rows){ Read the first row X in Table 1 i = 1, n = True while(i <= X.LetterCount){ if(ith letter of X.Word is a vowel){ n = False } i = i + 1 } if(n){ A = A + 1 } Move X to Table 2 } ```
Single correct
EASY
2 marks
10 July 2022
Showing 14 questions.
Computational Thinking > Week 1
All PYQs
Topic-Wise PYQs
Start Weekly Test
Mock tests
Week mock
Topic mock
Subject mock
Type:
All
Difficulty:
All
Year:
All
14Q
01
Match the following expressions in the Column 1 with the appropriate values in Column 2.
Single correct
MEDIUM
4 marks
26 October 2025
02
Consider the flowchart shown below. Which of the following pseudocode is correct for the given flowchart?
Single correct
EASY
5 marks
13 July 2025
03
Match the following expressions in Column 1 with the appropriate values in Column 2.
Single correct
EASY
2 marks
23 February 2025
04
The given information represents a "Shopping Bill" and it may have some mistakes with respect to the sanity of data. Identify all rows with such mistakes. It is a Multiple Select Question (MSQ).
Multiple correct
MEDIUM
4 marks
27 October 2024
05
The given information represents the "Scores" dataset and it may have some mistakes with respect to the sanity of data. Identify all rows with such mistakes. It is a Multiple Select Question (MSQ).
Multiple correct
EASY
3 marks
07 July 2024
06
The following pseudocode is executed using the "Words" dataset. What will `count` represent at the end of execution? ``` count = 0 while(Table 1 has more rows){ Read the first row X in Table 1 Move X to Table 2 i = 1, A = False, B = False while(i <= X.LetterCount){ if(ith letter of X.Word is a vowel){ if(A){ B = True } A = True } else{ A = False } i = i + 1 } if(B){ count = count + 1 } } ```
Single correct
MEDIUM
3 marks
25 February 2024
07
The given information represents a "Words" dataset and it may have some mistakes with respect to the sanity of data. Identify all rows with such mistakes.
Multiple correct
EASY
4 marks
25 February 2024
08
The following pseudocode is executed using a dataset similar to the "Words" dataset, based on the following paragraph. "Surrounded by nature, Susan often takes a stroll, savoring the soothing sounds of chirping birds. Such moments underline the significance of embracing simple joys in life. Rustlings in the trees suggest squirrels beginning their day, searching for sustenance. Surely, the beauty of a sunrise holds unparalleled magic." ``` count = 0, flag = True while(Table 1 has more rows){ Read the first row X in Table 1 Move X to Table 2 if(flag){ if(1st letter of X.Word == 's'){ if(2nd letter of X.Word == 'u'){ count = count + 1 } } } flag = False if(X.Word ends with full stop){ flag = True } } ``` What would be the value of `count` at the end of the execution of the above pseudocode? Assume that upper case and lower case are ignored during comparison of letters.
Numerical
MEDIUM
3 marks
25 February 2024
09
Match the following expressions on the left side with the appropriate values on the right side.
Single correct
EASY
2 marks
29 October 2023
10
The following pseudocode is executed using the "Words" dataset. What will `A` represent at the end of the execution? ``` A = 0 while(Table 1 has more rows){ Read the first row X in Table 1 i = 1, B = 0 while(i <= X.LetterCount){ if(ith letter of X.Word is a vowel){ B = B + 1 } i = i + 1 } if(B > 2){ A = A + 1 } Move X to Table 2 } ```
Single correct
EASY
3 marks
16 July 2023
11
Let the value of `X` be "aeroplane". What is the value of `A` at the end of the execution of the pseudocode? ``` i = 1 A = 1 while(i <= X.LetterCount){ if(ith letter of X is a vowel){ A = A * 2 } i = i + 1 } ```
Numerical
EASY
3 marks
16 July 2023
12
Select the most appropriate datatype specific to "Scores" dataset for the left column.
Single correct
EASY
2 marks
16 October 2022
13
A long word is defined as a word having at least 6 letters. The given pseudocode is used to find the average number of letters per word for long words from the "Words" dataset. Choose the correct code fragment to complete the pseudocode. ``` letterCount = 0, wordCount = 0, avgLetPerWord = 0 while(Table 1 has more rows){ Read the first row X in Table 1 *************** * Fill the code * *************** } avgLetPerWord = letterCount / wordCount ```
Single correct
MEDIUM
3 marks
05 June 2022
14
The following pseudocode is executed using the "Words" dataset. What will `A` represent at the end of the execution? ``` A = 0 while(Table 1 has more rows){ Read the first row X in Table 1 i = 1, n = True while(i <= X.LetterCount){ if(ith letter of X.Word is a vowel){ n = False } i = i + 1 } if(n){ A = A + 1 } Move X to Table 2 } ```
Single correct
EASY
2 marks
10 July 2022
Showing 14 questions.