Question 6 - Week 5 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Quiz 2
Go to subject
Computational Thinking
Go to chapter
Week 5
Question 6
00:00
Est. 2 min
Marks:
+4.00
0.00
Passage
Answer the given subquestions based on the following pseudocode. ``` L = 0 LA = [[1], [2, 2], [1, 2, 3]] LB = [], LC = [] foreach A in LA { foreach B in A { LB = [B] ++ LB L = L + B } LC = LC ++ [LB] LB = [] } ```
Question
What is the value of `L` at the end of execution?
Comprehension
Easy Difficulty
03 August 2025
A
6
B
1
C
11
D
4