1) Python is a ______________ a) High-level programming language b) Low-level programming language c) Assembly-level programming language 2) Python is developed by _________________ a) Dennis Ritchie b) James Gosling c) Guido Van Rossum 3) IDLE stands for _______ a) Integrated Development And Learning Environment b) Integrated Developed Logical Environment c) Individual Development and Learning Environment 4) Three greater than sign ‘>>>’ is called ____ a) Primary prompt b) Secondary prompt c) Null 5) In _____ mode, a command is typed at the prompt. a) Script mode b) Interactive Mode c) Single-mode 6) The set of rules is called _____. a) Syntax b) Procedure c) Program 7) Keywords are otherwise called _____ a) reversed word b) reserved word c) string 8) Every variable in a program must have a ____ a) Syntax b) Same name c) Unique name 9) What is an assignment operator? a) = b) + c) == 10) 2+3*5 =  a) 17 b) 25 c) 24 11) The logical operators are____ a) >,<,>=,<> b) +,**,_ c) AND, OR, NOT 12) _____ is ignored by the interpreter. a) Comment b) Syntax c) Semantics 13) In Python, a comment starts with the hash _____ character. a) # b) % c) * 14) The correct syntax for print statement is ______ a) print("Welcome") b) Print("Welcome") c) print(Welcome) 15) _____ datatypes items separated by commas, within the square bracket. a) Dictionary b) Tuple c) List

Introduction to Python

door

Scorebord

Visuele stijl

Opties

Template wisselen

Automatisch opgeslagen activiteit "" herstellen?