Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password

Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Python Concepts

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Term
Definition
Type Function   show
🗑
show The process of storing a value in variable  
🗑
show A combination of numbers,symbols or other variables that produce a result when evaluated.  
🗑
show Must start with letter doesn't use special character  
🗑
show The interpreter automatically converts one data type in to another  
🗑
show Special data type in python, used to indicate that things are empty or they returned nothing  
🗑
Function Advantages   show
🗑
show Writing readable and under stable clean code  
🗑
show Object oriented programming is a paradigm , where real world concepts are defined and represented by Classes e.g. Fruits is class and then apple and orange instance of class.An idea is defind can be defined using class  
🗑
Attributes of class   show
🗑
show Functions associated with type, jesa k hum class fruit me aik function bnayen jis ka kam ho optimum temperature find krna fruit k liye  
🗑
Special methods in class   show
🗑
dir() function   show
🗑
show Ye btata hai k value ki class kiya hai.  
🗑
type(" ")   show
🗑
upper() method   show
🗑
isnumeric()   show
🗑
help()   show
🗑
instance of class   show
🗑
Defining a class   show
🗑
setting a attribute of class   show
🗑
show Dot notation is waja se hum class k kisi bhi method ya attribute tak ponch sakty hain aur uski value set kr sakty and retrieve bhi kr sakty  
🗑
methods in class   show
🗑
method in class syntax   show
🗑
how to use attribute inside method   show
🗑
instance variable   show
🗑
show In constructor method we define attributes inside method function , so that we dont forget what are the attirbutes of a class, we can create the instance and attribute write away  
🗑
show def __init__(self,color,flavor ): self. color = color self.flavor = flavour  
🗑
instance using constructor method   show
🗑
show str method is useful, when you have need to print instance. def __str__(Self) retur "This apple is sweet "  
🗑
Doc string   show
🗑
STDIN   show
🗑
show I/O stream for output  
🗑
show STDERR displays output specifically for error messages.  
🗑
show Ways to give programme and recive informnation from programme  
🗑
show Command line interface used to interact with operating system  
🗑
echo   show
🗑
Environment Variables   show
🗑
Command Line Arguments   show
🗑
Where Command line arguments stored   show
🗑
show The value returned by a program to the shell  
🗑
show It prints value of lines,word and characters for our pyhton script  
🗑
Finish successfully code   show
🗑
show UTF-8  
🗑
show Awesome! Calling this method of the os.environ dictionary will copy the current environment variables to store and prepare a new environment.  
🗑
show  
🗑
None   show
🗑
show Objects are way of organizing code in python and break things down to make it easier to think about complex ideas  
🗑
show  
🗑
Edge Cases   show
🗑
Casting   show
🗑
immutable type   show
🗑
show Plus operator concatenates two strings  
🗑
show existing list.extend(newlist or element ) will extend the existing list  
🗑
show .sort() only works on integers or strings seperately but cannot sort them when the list contains combination of numbers and strings  
🗑
Tuples   show
🗑
Dictionaries   show
🗑
show Mydict.keys() will show all the keys in the dictionary  
🗑
Difference between compiler and interpreter   show
🗑
iteration on file object   show
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how
Created by: moixxrox