gs gs109 Python Dictionary - Python Dictionary - Quiz No.1

gs gs109 Python Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs109 Python of gs organization. We have 134 quizzes available related to the book/course Python. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Python Dictionary. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: Which of the following statements create a dictionary?
Question 2: What will be the output of the following Python code snippet?

 d = {"john":40, "peter":45} print(d) 
Question 7: Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?
Question 9: What will be the output of the following Python code snippet?

 d = {"john":40, "peter":45} print(list(d.keys())) 
Question 10: Suppose d = {“john”:40, “peter”:45}, what happens when we try to retrieve a value using the expression d[“susan”]?


Online Quizzes of gs109 Python

Other LANG related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background