Advertisements
Advertisements
Consider the following dictionary stateCapital:
stateCapital = {"AndhraPradesh":"Hyderabad",
"Bihar":"Patna","Maharashtra":"Mumbai",
"Rajasthan":"Jaipur"}
Find the output of the following statement:
print(stateCapital.get("Bihar"))Concept: undefined >> undefined
Consider the following dictionary stateCapital:
stateCapital = {"AndhraPradesh":"Hyderabad",
"Bihar":"Patna","Maharashtra":"Mumbai",
"Rajasthan":"Jaipur"}
Find the output of the following statement:
print(stateCapital.values())Concept: undefined >> undefined
Advertisements
Consider the following dictionary stateCapital:
stateCapital = {"AndhraPradesh":"Hyderabad",
"Bihar":"Patna","Maharashtra":"Mumbai",
"Rajasthan":"Jaipur"}
Find the output of the following statement:
print(stateCapital.items())Concept: undefined >> undefined
Consider the following dictionary stateCapital:
stateCapital = {"AndhraPradesh":"Hyderabad",
"Bihar":"Patna","Maharashtra":"Mumbai",
"Rajasthan":"Jaipur"}
Find the output of the following statement:
print(len(stateCapital))Concept: undefined >> undefined
Consider the following dictionary stateCapital:
stateCapital = {"AndhraPradesh":"Hyderabad",
"Bihar":"Patna","Maharashtra":"Mumbai",
"Rajasthan":"Jaipur"}
Find the output of the following statement:
print(stateCapital.get("Assam"))Concept: undefined >> undefined
Consider the following dictionary stateCapital:
stateCapital = {"AndhraPradesh":"Hyderabad",
"Bihar":"Patna","Maharashtra":"Mumbai",
"Rajasthan":"Jaipur"}
Find the output of the following statement:
del stateCapital["Rajasthan"]
print(stateCapital)Concept: undefined >> undefined
Identify the category (system, application, programming tool) of the following software:
Text editor
Concept: undefined >> undefined
Governments provide various scholarships to students of different classes. Prepare a report on how blockchain technology can be used to promote accountability, transparency, and efficiency in the distribution of scholarships.
Concept: undefined >> undefined
Consider the following dictionary stateCapital:
stateCapital = {"AndhraPradesh":"Hyderabad",
"Bihar":"Patna","Maharashtra":"Mumbai",
"Rajasthan":"Jaipur"}
Find the output of the following statement:
print(stateCapital.keys())Concept: undefined >> undefined
Differentiate between proprietary software and freeware software. Name two software for each type.
Concept: undefined >> undefined
Which operating system is installed on your computer at home or school?
Concept: undefined >> undefined
Categorize the following as syntax error, logical error, or runtime error:
25 / 0
Concept: undefined >> undefined
Categorize the following as syntax error, logical error, or runtime error:
num1 = 25; num2 = 0; num1/num2
Concept: undefined >> undefined
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 = int('3.14')
print (num1)
Concept: undefined >> undefined
