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->List

First Previous 1 2 3 4 5 6 7 8 Next Last
                        
1.) What is the output when we execute list("hello")?
Options are:
A.) ['hello']
B.) ['h', 'e', 'l', 'l', 'o']
C.) ['llo']
D.) ['olleh']
                        
2.) Suppose listExample is ['h','e','l','l','o'], what is len(listExample)?
Options are:
A.) None
B.) 5
C.) Error
D.) 4
3.) Suppose list1 is [2445,133,12454,123], what is max(list1)?

Options are:
A.) 2445
B.) 123
C.) 12454
D.) 133
4.) Suppose list1 is [3, 5, 25, 1, 3], what is min(list1)?
Options are:
A.) 1
B.) 5
C.) 25
D.) 3
5.) Suppose list1 is [1, 5, 9], what is sum(list1)?

Options are:
A.) 9
B.) 3
C.) 1
D.) 15
First Previous 1 2 3 4 5 6 7 8 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