Please select a subject first
Advertisements
Advertisements
Which data type will be used to represent the following data values and why?
A resident of Delhi or not
Concept: undefined >> undefined
Which data type will be used to represent the following data values and why?
Mobile number
Concept: undefined >> undefined
Advertisements
Which data type will be used to represent the following data values and why?
Pocket money
Concept: undefined >> undefined
Which data type will be used to represent the following data values and why?
Volume of a sphere
Concept: undefined >> undefined
Which data type will be used to represent the following data values and why?
Perimeter of a square
Concept: undefined >> undefined
Which data type will be used to represent the following data values and why?
Name of the student
Concept: undefined >> undefined
Which data type will be used to represent the following data values and why?
Address of the student
Concept: undefined >> undefined
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 += num2 + num3
print (num1)
Concept: undefined >> undefined
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 = num1 ** (num2 + num3)
print (num1)
Concept: undefined >> undefined
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 **= num2 + num3
Concept: undefined >> undefined
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 = '5' + '5'
print(num1)
Concept: undefined >> undefined
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
print(4.00 / (2.0 + 2.0))
Concept: undefined >> undefined
What will be the output of the following code segment:
myList = [1,2,3,4,5,6,7,8,9,10]
del myList[3:]
print(myList)Concept: undefined >> undefined
What will be the output of the following code segment:
myList = [1,2,3,4,5,6,7,8,9,10]
del myList[:5]
print(myList)Concept: undefined >> undefined
What will be the output of the following code segment:
myList = [1,2,3,4,5,6,7,8,9,10]
del myList[::2]
print(myList)Concept: undefined >> undefined
The record of a student (Name, Roll No., Marks in five subjects and percentage of marks) is stored in the following list: stRecord = ['Raman', 'A-36', [56, 98, 99, 72, 69], 78.8]
Write Python statements to retrieve the following information from the list stRecord.
- Percentage of the student
- Marks in the fifth subject
- Maximum marks of the student
- Roll no. of the student
- Change the name of the student from ‘Raman’ to ‘Raghav’.
Concept: undefined >> undefined
Write a program to read elements of a list.
The program should ask for the position of the element to be deleted from the list. Write a function to delete the element at the desired position in the list.
Concept: undefined >> undefined
Write a program to read elements of a list.
The program should ask for the value of the element to be deleted from the list. Write a function to delete the element of this value from the list.
Concept: undefined >> undefined
Sumit got good marks in all the subjects. His father gifted him a laptop. He would like to make Sumit aware of health hazards associated with the inappropriate and excessive use of laptops. Help his father to list the points which he should discuss with Sumit.
Concept: undefined >> undefined
Try the following conversion.
(220)8 = (?)2
Concept: undefined >> undefined
