Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CS2021 Quiz Week 2
- What is meant by the phrase “Everything is an object in Python, except variables”?
- Can two different variables refer to same object?
- What type of quotes are needed to represent a string object?
- 'Single Quotes'
- "Double Quotes"
- """Triple Quotes""" or '''triple quotes'''
- What are the 4 main python data structures?
- Given a list definition:
- list1 = ['a', 'b', 'c’]
- What are main methods we can perform with list1?
- How can you find out all possible valid methods on objects and how to find docs on those methods?
- How do you iterate through all elements of list1?
- T/F
- Functions take parameters of any type?
- T/F
- Functions can take any number of parameters?
- T/F
- Functions can be assigned to variables?
- T/F
- Functions can be passed as parameters to a function?
- What is a namespace?
- What is a scope?
- What scopes are searched to find a name in a namespace?
- What is a module and what does it mean to import them?
- What is difference between
- from <module> import <name>
- from <module> import *
- import <module>
- What is the default IDE for python?
- Name some well-known python IDEs
Add Comment
Please, Sign In to add comment