Programming Fundamentals
Bachelor of Science in Computer Science · University · Core Courses
In this unit you will: understand data types, assignment, and expressions in Python; trace branches and loops; use indexes, lists, dictionaries, and strings; apply functions, recursion, and object-oriented programming; read code, spot errors, and work out results.
There are 50 exercises to practice: interaktive Aufgaben. Every answer gets instant feedback, free and without signing up.
What's included
- Understand data types · assignment · and expressions in Python
- Trace branches and loops
- Use indexes · lists · dictionaries · and strings
- Apply functions · recursion · and object-oriented programming
- Read code · spot errors · and work out results
Example questions
- What is the value of x after x = 7 // 2 in Python?
- True or false? “In Python, = tests for equality.”
- What is the value of 7 % 3?