8. What will the following code output?
x = 10
y = 5 print(x == y)
x = 10
y = 5 print(x == y)
Anonymous Quiz
10%
a) True
79%
b) False
10%
c) Error
2%
d) None
7. What is the result of the following code?
x = [1, 2, 3]
x = x * 2 print(x)
x = [1, 2, 3]
x = x * 2 print(x)
Anonymous Quiz
13%
a) [1, 2, 3]
35%
b) [1, 2, 3, 1, 2, 3]
41%
c) [2, 4, 6]
11%
d) Error
π1
6. What will be the output of the following code?
x = 5
y = 2 print(x // y)
x = 5
y = 2 print(x // y)
Anonymous Quiz
38%
a) 2
44%
b) 2.5
7%
c) 3
11%
d) 5
9. What will be the output of the following code?
x = [1, 2, 3]
x[0] = 10 print(x)
x = [1, 2, 3]
x[0] = 10 print(x)
Anonymous Quiz
18%
a) [1, 2, 3]
63%
b) [10, 2, 3]
8%
c) [2, 3]
11%
d) Error
10. What is the result of the following code?
x = 10
y = 20 print(x is y)
x = 10
y = 20 print(x is y)
Anonymous Quiz
9%
a) True
73%
b) False
7%
c) None
11%
d) Error
12. What is the correct syntax to create a dictionary in Python?
Anonymous Quiz
17%
a) dict = [1: "one", 2: "two"]
17%
b) dict = (1: "one", 2: "two")
56%
c) dict = {1: "one", 2: "two"}
11%
d) dict = <1: "one", 2: "two">
13. What does the following code do?
x = "123"
x += 10
x = "123"
x += 10
Anonymous Quiz
11%
a) Adds 1 to the string "123"
46%
b) Raises an error
40%
c) Converts "123" to an integer
3%
d) Converts "123" to float
11. What will be the output of the following code?
x = [10, 20, 30]
y = x y[1] = 100 print(x)
x = [10, 20, 30]
y = x y[1] = 100 print(x)
Anonymous Quiz
27%
a) [10, 100, 30]
30%
b) [10, 20, 30]
30%
c) [100, 20, 30]
12%
d) Error
14. What is the output of the following code?
x = 3
y = 5 print(x == y)
x = 3
y = 5 print(x == y)
Anonymous Quiz
8%
a) True
77%
b) False
8%
c) 3
8%
d) 5
15. What will be the output of the following code?
x = "Hello"
x += " World" print(x)
x = "Hello"
x += " World" print(x)
Anonymous Quiz
40%
a) HelloWorld
42%
b) Hello World
9%
c) Error
9%
d) WorldHello
17. What is the result of the following code?
x = 5
y = 2 z = 2 print(x // y == z)
x = 5
y = 2 z = 2 print(x // y == z)
Anonymous Quiz
33%
a) True
49%
b) False
12%
c) Error
6%
d) None
16. What will the following code output?
x = [1, 2, 3]
x.append(4) print(len(x))
x = [1, 2, 3]
x.append(4) print(len(x))
Anonymous Quiz
21%
a) 3
53%
b) 4
19%
c) 5
6%
d) 6
18. What will be the output of the following code?
x = [1, 2, 3]
x[1:] = [10, 20] print(x)
x = [1, 2, 3]
x[1:] = [10, 20] print(x)
Anonymous Quiz
33%
a) [1, 10, 20]
22%
b) [10, 20]
35%
c) [1, 10, 20, 3]
10%
d) Error
19. What will be the output of the following code?
x = "abc"
x = x * 3 print(x)
x = "abc"
x = x * 3 print(x)
Anonymous Quiz
64%
a) abcabcabc
18%
b) abc
16%
c) Error
2%
d) abcabc
π1
20. What will the following code output?
x = 1
y = "1" print(x == y)
x = 1
y = "1" print(x == y)
Anonymous Quiz
26%
a) True
47%
b) False
11%
c) 1
16%
d) Error
β€1π1
21. What will be the result of the following code?
x = 5
x = x * 2 print(x)
x = 5
x = x * 2 print(x)
Anonymous Quiz
0%
a) 5
76%
b) 10
8%
c) 7
16%
d) Error
22. Which method is used to remove all items from a list?
Anonymous Quiz
26%
a) delete()
39%
b) clear()
8%
c) pop()
26%
d) remove()
23. What will the following code print?
x = 10
y = 2 print(x % y)
x = 10
y = 2 print(x % y)
Anonymous Quiz
52%
a) 0
38%
b) 5
8%
c) 2
3%
d) 10
24. What will be the output of the following code?
x = [1, 2, 3, 4, 5]
x[2:4] = [10, 20] print(x)
x = [1, 2, 3, 4, 5]
x[2:4] = [10, 20] print(x)
Anonymous Quiz
32%
a) [1, 2, 10, 20, 5]
29%
b) [1, 2, 10, 20, 4, 5]
15%
c) [10, 20, 3, 4, 5]
24%
d) Error
25. What will be the result of the following code?
x = "123"
print(int(x) + 2)
x = "123"
print(int(x) + 2)
Anonymous Quiz
53%
a) 125
23%
b) 1232
5%
c) 124
20%
d) Error
π2
SERIAL POSITION EFFECT
We're conducting a fun and simple experiment to explore how people remember words!
What you'll do:
You'll see a list of 20 words for 20 seconds, α³αα αα α¨20 α°α¨αα΅ α αα α α΅α αα
After that, youβll recall and type as many words as you can remember, αααα ααα΅ αααΈαα°α΅ ααα©
Itβs totally voluntary, and your participation will help us understand how memory works better!
Why participate?
Challenge your memory skills
Contribute to an interesting research experiment
Click here to start! β‘οΈ Google Form
Letβs see how well you can remember the words!
We're conducting a fun and simple experiment to explore how people remember words!
What you'll do:
You'll see a list of 20 words for 20 seconds, α³αα αα α¨20 α°α¨αα΅ α αα α α΅α αα
After that, youβll recall and type as many words as you can remember, αααα ααα΅ αααΈαα°α΅ ααα©
Itβs totally voluntary, and your participation will help us understand how memory works better!
Why participate?
Challenge your memory skills
Contribute to an interesting research experiment
Click here to start! β‘οΈ Google Form
Letβs see how well you can remember the words!
Google Docs
Serial Position Effect Experiment
Welcome to the Serial Position Effect Experiment!"
In this experiment, we aim to prove the validity of what weβve learned about the serial position effect. The idea that people tend to remember words at the beginning (primacy effect) and the end (recencyβ¦
In this experiment, we aim to prove the validity of what weβve learned about the serial position effect. The idea that people tend to remember words at the beginning (primacy effect) and the end (recencyβ¦
π1