1) What is Python? a) Language b) Animal c) Car d) Planet 2) Which company created Python? a) Apple b) CWI c) IBM d) Google 3) What is PEP 8? a) Error code b) Style guide c) Python version d) Encryption 4) Which is a Python data type? a) int b) doc c) sheet d) slide 5) What does 'def' do in Python? a) Defines a variable b) Starts a loop c) Defines a function d) Throws an error 6) How do you comment in Python? a) // comment b) # comment c) /* comment */ d) <!-- comment --> 7) What is a 'list' in Python? a) Function b) Variable c) Data structure d) Module 8) How do you handle exceptions in Python? a) if/else b) try/except c) onerror d) handleError() 9) Which module is used for web development? a) sys b) os c) flask d) math 10) What does 'pip' stand for? a) Python install package b) Preferred installer program c) PIP installs Python d) Package installer for Python

Κατάταξη

Οπτικό στυλ

Επιλογές

AI Enhanced: Αυτή η δραστηριότητα περιέχει περιεχόμενο που δημιουργείται από AI. Μάθε περισσότερα.

Αλλαγή προτύπου

Επαναφορά αυτόματα αποθηκευμένου: ;