Basics of python
English
Basic
Python is become a programming language of decade so I would like to test the basic knowledge in python for our users
Description
Tags
30
Questions
15 sec
Per question
2:55
Average time
Disqualified
Contest Score
3.3
Community Rating
12
Participants
7 comments
Smart Tiger judge
Thank you for taking the effort to submit your test for the contest.
Unfortunately, this test will not be able to receive a prize:

1. Major language issues. Too many mistakes in questions, answers and explanations (grammar, punctuation, typos). E.g. #q27, #q2, #q4 etc

2. Major formatting issues. E.g. #q1, #q9 etc
Calm Quokka
This quiz is good but it has following issues :

Incomplete or wrong question:
Following question has no output unless you add print(str1) statement.
Consider
str="hello"
str1=str.center(10,'$') What's the output

------------------------------

Wrong question :
Following question generates error which is not there in options.
Consider the following
l=[123,456,789,'abc', 'xyz']
print (max(l))

------------------------------

Mispelled word in explanation :
question : What method can be used to return string in uppercase
Explanation : upeer() method returns the string in uppercase
Issue : Mispelled upper as upeer

------------------------------

Proper formatting not there in question

question : Choose the unmatched one related to function or a wrong case
has option : Function Is an organized blocksof code
You can see that there is no space between bocks and of.

-------------------------------

Proper formatting not there in explanation of following question
question : By applying binary shift
a<<60
Explanation :
Binary of 60. 00111100
Binary shift of60. 11110000

NOTICE NO SPACE BEWTEEN of and 60 IN LAST LINE.

------------------------------
Kingly Hare author
Thank you so much for pin pointing my errors I would definitely avoid such errors in future
Small Lizard
Consider the following
l=[123,456,789,'abc', 'xyz']
print (max(l))
Strings are higher than number only in Python 2. In Python 3, They can't be compared. You didn't say that this code is in Python 2, so question is incorrect
Small Lizard
By applying binary shift
a<<60
What do you mean?
a<<60 means "take binary representation of value a and shift it 60 positions to left"
Example: https://ideone.com/PotjRZ
Small Lizard
How many standard data type does python have
Your explanation: there are five standard data types: numbers, list, tuple, string, dictionary
Maybe I don't understand what does "standard data type" mean, but what about theese types for example?
* 4 numeric types: long (in Python 2), int, float, complex
* bool
* set
Small Lizard
Consider is space method
str="about b c d "
The task is to guess that "is space method" means "isspace method of str "
Take the quiz to leave a comment