Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.63 KB

python.md

File metadata and controls

50 lines (40 loc) · 1.63 KB

EXAM: Programming Basics

Getting Started

  • Fork this repository under your own account
  • Clone the forked repository to your computer
  • Create a .gitignore file so generated files won't be committed
  • Commit your progress frequently and with descriptive commit messages
  • All your answers and solutions should go in this repository

What can I use?

  • You can use any resource online, but please work individually
  • Don't just copy-paste your answers and solutions, use your own words instead.
  • Don't push your work to GitHub until your mentor announces that the time is up

Tasks

1-3. Complete the following tasks: (~90 mins)

Acceptance criteria

The application is accepted if:

  • The solution works according to specification [1p each]
  • The solution follows styleguide [1p]
  • Has proper error handling where the specification says it [1p each]
  • Has the correct loops, methods, filters [1p each]
  • The code is clean, without unnecessary repetition, and with descriptive names [1p each]
  • You commit frequently with descriptive commit messages [1p]

4. Question time! (~10 mins) [3p]

How many constructors called when my_foxi initialized (and which order) ?

class Animal():
	def __init__(self):
		pass

class Dog(Animal):
	def __init__(self):
		pass

class Foxi(Dog):
	def __init__(self):
		pass

my_foxi = Foxi()

Your answer:

[I can't understand the question]