Save
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


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
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.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
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

SE Python Intro

QuestionAnswer
Python emphasizes...? Code readability
Python allows programmers to express concepts in...? Fewer lines of code
Python index always starts at...? Zero
Identifiers Names that refer to a data object of some type
List A sequence of elements, each with an index position
The len() function allows you to...? Get the total number of items in a list, tuple, array, dictionary, etc
Lists ___ hold other lists Can
Negative subscripts provide access to the list elements in ___ Reverse order
You ___ change the characters in a string Cannot
You ___ replace one list element with another Can
The append() function is used to...? Add elements to the end of a list
The pop() function is used to...? Remove the element at the end of a list or a given index value
The remove() function is used to...? Specify which list item you want to remove no matter where in the list it is located
The insert() function is used to...? Add an item to a list in a specified location
The extend() function is used to...? Add multiple list items to an existing list
The "in" operator is used to...? Know whether an element is present in a list
The concatenation of two lists in a new list contain...? The elements of the first list followed by that of the second
Lists can be concatenated using the ___ Plus (+) operator
To concatenate the same list multiple times use the ___ Star (*) operator
Use the ___ to compare whether two lists have the same elements in the same order Equals (==) operator
Table A list in which each element is itself another list
Two benefits of using functions Reusability and abstraction
Local variable A variable that is defined within a function
Global variable A variable that is defined outside of a function
Variables are ___ unless otherwise declared Local
Set A container that stores a collection of unique values
The elements of a set are...? Not stored in a particular order and cannot be accessed by position
A set cannot contain ___ Duplicate elements
Dictionary A container that keeps associations between keys and values
Class variables - Defined within the class construction - Shared by all instances of the class
Instance variables - Owned by instances of the class - For each object or instance of a class, these variables are different - They are defined within methods and are retained from call to call
Local variables - Thrown away when the method is finished - Recreated the next time you call the method
Created by: 2773328169477309
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards