Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.77 KB

python.md

File metadata and controls

39 lines (31 loc) · 1.77 KB

TRIAL EXAM: Programming Basics

Getting Started

  • Fork this repository under your own account
  • Clone the forked repository to your computer
  • 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 (but commit frequently to your local repository)

Tasks

1-4. Complete the following tasks: (~240 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]

5. Question time! (~15 mins) [2p]

What is the difference between id and class in CSS? [2p]

Your answer:

The main difference is: ID's are unique, Classes are not. We can use the same class on multiple elements. Each element have only one unique id. Each page can have only one element with that id. Classes are useful when you have more than one element that shares the same style. Use the ID when you have a single element on the page that will take the style.