Prasnya
Prasnya
Prasnya
Continue with Google
Prasnya
Continue with Google
Week 4 Computational Thinking Questions | Prasnya
Computational Thinking > Week 4
All PYQs
Topic-Wise PYQs
Start Weekly Test
Mock tests
Week mock
Topic mock
Subject mock
Type:
All
Difficulty:
All
Year:
All
1Q
01
The `topChem` and `topPhy` lists contain cards of students with Chemistry marks and Physics marks greater than 75 respectively. What will `someList` represent after execution? ``` someList = [] foreach X in topChem { foreach Y in topPhy { if (X.SeqNo == Y.SeqNo and X.Mathematics > 75) { someList = someList ++ [X.Name] } } } ```
Single correct
MEDIUM
4 marks
03 December 2023
Showing 1 question.
Computational Thinking > Week 4
All PYQs
Topic-Wise PYQs
Start Weekly Test
Mock tests
Week mock
Topic mock
Subject mock
Type:
All
Difficulty:
All
Year:
All
1Q
01
The `topChem` and `topPhy` lists contain cards of students with Chemistry marks and Physics marks greater than 75 respectively. What will `someList` represent after execution? ``` someList = [] foreach X in topChem { foreach Y in topPhy { if (X.SeqNo == Y.SeqNo and X.Mathematics > 75) { someList = someList ++ [X.Name] } } } ```
Single correct
MEDIUM
4 marks
03 December 2023
Showing 1 question.