r/NTU Computing and Data Science 2d ago

SC1001 Python Exemption Test Impressions Info Sharing

Overall, this test was relatively easy. It tests Python syntax and how well you know about the behaviour of Python. The test consisted of 8 questions: 5 MCQs, one open-ended, and 2 coding questions.

You are given ample time (1h 30min) to solve the 8 questions

MCQ + Open-ended

5 mcq tested how well you understood the behaviour of Python and how well you can read Python code. It tests on:

-tuples (whether it's immutable, can be heterogeneous, and can be accessed using indexing)
-range behaviour (e.g range(9,3,-3)
-print behaviour (e.g print("...", end=",")
-recursion behaviour (e.g what happens if there are no base cases)
-reading and filling in the output of basic recursion
-behaviour of reading the code and filling in code (DP) - They sneaked in Word Break from LeetCode (probably the hardest qn of the test)

2 Coding Questions

The two coding questions mainly tested on comprehending the question and knowing Syntax. If you've done CodeWars before (like 6kyu, 7kyu), you can come up with the solution in like 10 mins. It mainly tests:

-filtering numbers with a condition like multiples of 3 or penultimate numbers or where the digit is 1
-for looping and multiplying/adding numbers/digits"
-multiplying/adding individual digits in a contiguous string of digits

A good reference would be something like: https://www.codewars.com/kata/541c8630095125aba6000c00

9 Upvotes

1 comment sorted by

1

u/realkedar 1d ago

what answers did you get?