Save
Upgrade to remove ads
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

IPT MOD2

QuestionAnswer
Number as identified as real part and imaginary part. Complex
A sequence of operands and operators. Expression
List an unordered collection of data in a key:value pair form. True
What is the output of the given python script: type(‘abc’) <class ‘str’>
Integer numbers are identified as real part and imaginary part. False
A list value is a collection of one or more characters put in single or double quotes. False
String is any real number with a floating point representation in which a fractional component is denoted by a decimal symbol or scientific notation. False
Positive or negative whole numbers (without a fractional part). Integer
Data with one of two built-in value Boolean
What is the output of the given python script: type(“abc”) <class ‘str’>
Syntax error is type of error where the Python could not figure out how to read your program. True
A type of error where the Python could not figure out how to read your program. Syntax
Given the code below: x = 20 y = 25 print (x >= y) What will be the output? False
Membership operators are used to compare (binary) numbers. False
In Python statement x = a + 3 - b: a + 3 - b is expression
Given the code below: x = [“one”, “two”, “three”] print (“three” in x) What will be the output? True
What is the output given the following python script: >>> 3.5 + 2 * 3 8.5
What is the output given the following python script: >>> 10%2 0
Comparison operators are used to compare two values. True
Given the code below: x = 20 y = 25 x is y What will be the output? False
xrange() returns an iterator that provides the same functionality more efficiently. True
Continue statement stop the loop before it has looped through all the items. False
The range() function defaults to increment the sequence by 1. True
Given the code below: i=1; j = 1 while i < 10: print(j, end =' ', flush = True) i += j j = i - j What will be the output? 11235
Given the code below: for i in range(-2, -5, -1): print(i, end=' ', flush=True) What will be the output? -2-3-4
The loop statement is used to check a condition. False
Given the code below: for i in range(1, 4): print(i, end=' ', flush=True) What will be the output? 123
Given the code below: for i in range(1, 5): print(i, end=' ', flush=True) What will be the output? 1 2 3 4
In a Python, a control structure: Directs the order of execution of the statements in the program
Created by: jxxnixx
 

 



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