Programology – Telegram
Programology
7.28K subscribers
1.94K photos
771 videos
6 files
2.08K links
Pro·​gram | \ ˈPrō-ˌgram , -grəm \
:A Sequence Of Coded Instructions That Can Be Inserted Into A Mechanism (Such As A Computer)

Who We Are : https://msha.ke/programmerjokesofficial
Download Telegram
Options
Anonymous Quiz
30%
A
32%
B
34%
C
5%
D
😁1
Output:

PROGRAMMERJOKES
Explanation : In Python, AND operator has higher precedence than OR operator. So, it is evaluated first. i.e, (b and c) evaluates to false.Now OR operator is evaluated. Here, (True or False) evaluates to True. So the if condition becomes True and PROGRAMMERJOKES is printed as output.
A straightforward definition of multi-threaded functions for NodeJS and browser

https://github.com/finom/elegant-threading
Comment Output
👍1
Options
Anonymous Quiz
57%
A
11%
B
24%
C
8%
D
Answer: a
Explanation: Second print statement doesn’t have access to y , scope y was limited to the block defined after initialization of x.

output:
$ javac variable_scope.java
Exception in thread "main" java.lang.Error: Unresolved compilation problem: y cannot be resolved to a variable
👍1
Comment Output
👍1
Options
Anonymous Quiz
59%
A
20%
B
9%
C
12%
D
Comment Output
Options
Anonymous Quiz
75%
A
10%
B
12%
C
3%
D