# PCAP — Question 606

**Type:** multiple_response
**Topics:** topic_1

## Question

Assuming that the code below has been executed successfully, which of the expressions evaluate to True? (Choose two.)
//IMG//

## Correct Answer

_See scenario._

## Explanation

There is a typo in answer C. "var" should be capitalized "Var":

class Class:
 Var = data = 1
 def __init__(self,value):
 self.prop = value

Object = Class(2)

print(len(Class.__dict__) == 1) # False
print("data" in Class.__dict__) # True
print("Var" in Class.__dict__) # True
print("data" in Object.__dict__) # False

print(Class.__dict__)
print("*************")
print(Object.__dict__)

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/python-institute/PCAP/606  
Practice (tracked): https://hiexam.net/study/PCAP/practice