Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

example questions for quiz

Simone Russolillo (5790 points)
7 10 22
in Programming in Python by (5.8k points)
Guys, it could be a nice idea to write the possible questions of the future programming quiz underneath. In this way if we all think of a question we can share it and read the others as well.

The only examples I've heard so far are:

What is the outcome of this function?

How does quick sort work?
534 views

5 Answers

rokshana03 (16750 points)
1 4 35
by (16.8k points)
reshown by

Well, I'm not sure if those can be considered "too obvious" questions or "too basic" but maybe they could ask stuff like:

  • How is a function defined?
  • Given this snippet of a code, what error will it raise?
  • What is recursion? or maybe why is it used?
  • What are iterative control structures?
  • Given this kind of problem, which data type or what approach would be more suitable?
  • What are some lists characteristics? or What are the most useful methods for strings/lists? ( or lists)
  • Maybe what is object-oriented programming? 
  • or What requirements does a recursive function need to meet in order to be a properly designed one? (its in the slides)

 

These are the ones I could think of but eh I don't know 

a
andrealoria (1120 points)
3 6 9
by (1.1k points)
sorry for the question,

Do we need a reservation for the exam?
rokshana03 (16750 points)
1 4 35
by (16.8k points)
Technically, yeah. You need to book a place on the Prodigit website at the Lab 15 or Lab 17 of the RM025 for Wednesday 22th Dec. If you haven't done it yet, doooo ittt, you can't book after Sunday
a
andrealoria (1120 points)
3 6 9
by (1.1k points)
thanks, you saved me =)
KilianS (3590 points)
7 10 27
by (3.6k points)
check out the python quizzes on realpython.com there is a lot.

I think they might be of similar type as the exam??

Also this one was good

https://pynative.com/basic-python-quiz-for-beginners/
gabrimat (5630 points)
2 4 25
by (5.6k points)
-What is a tree. Preorder and Postorder methods. Classes special method.

-Formatted strings syntax.
ruben.ciranni (4650 points)
8 14 31
by (4.7k points)
Some questions will be like predicting the output of a given function
Luigi Pizza (6120 points)
14 20 65
by (6.1k points)
  • f strings, 
  • dictionary, sets, lists and their differences
  • How to concatenate (or define) sets
  • Tuples of 1 element