Welcome to www.mcqtutorial.com!!!!
      
      
MCQ Tutorial Search
Home Search Add Question Today's History Discussion Board Job Portal Python Basics

Core Data Types

String List Mock Test Contact Feedback
Home
Search
Add Question
Today's History
Discussion Board
Job Portal
Python
Basics

Core Data Types

String
List
Mock Test
Subscribe/Unsubscribe
Email:
Social Media
Facebook

Misc Tutorials

References

Question and Answer Tutorial
Tutorials Point
Stack Overflow

MCQ Tutorial - Python->Core Data Types

                        
First Previous 1 2 3 Next Last
1.) Which of these in not a core datatype?
Options are:
A.) Lists
B.) Dictionary
C.) Class
D.) Tuples
2.) Given a function that does not return any value, What value is thrown by default when executed in
shell.
Options are:
A.) int
B.) bool
C.) void
D.) None
3.) Following set of commands are executed in shell, what will be the output?

>>>str="hello"
>>>str[:2]
>>>str
Options are:
A.) llo
B.) he
C.) hello
D.) hel
4.) Which of the following will run without error?
Options are:
A.) round(463.123,2,1)
B.) round()
C.) round(6352.898,2)
D.) round 654.342,2
5.) What is the return type of function id?
Options are:
A.) float
B.) bool
C.) dict
D.) int
First Previous 1 2 3 Next Last
                        
Comment:
Name:Email:
Contact No.:
Copyright © 2014 by SBJ Group. All Rights Reserved. Developed and maintained by SBJ Group. Supported on Internet Explorer browser only