What will be the output of the following Python expression?
4^12
4^12
Anonymous Quiz
12%
2
37%
4
37%
8
15%
12
What will be the output of the following Python expression?
~100?
~100?
Anonymous Quiz
10%
101
19%
-101
21%
-99
31%
-100
19%
100
What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))
l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))
Anonymous Quiz
21%
Error
33%
[1, 0, 2, 0, ‘hello’, ”, []]
28%
[1, 0, 2, ‘hello’, ”, []]
19%
[1, 2, ‘hello’]
👍1
What will be the output of the following Python code if the system date is 21st June, 2017 (Wednesday)?
[] or {} {} or []
[] or {} {} or []
Anonymous Quiz
26%
[] {}
44%
[] []
19%
{} []
11%
{} {}
🌟 Java & Java with DSA Courses
🌐 Web Development
🤖 Data Science & Machine Learning
✨
100+ More Demanding Courses to Explore!
Price starting at ₹99 ..........
For more information and discount 😉 - DM - @Myhurthearts
🚀 CORE JAVA: NareshIT | Kishan Sir🐍 Python & Python with DSA
🔥 ADVANCED JAVA: Venkatesh Mansani
🖥️ SPRING BOOT: NareshIT | Kishan Sir
⚙️ JAVA DSA: DurgaSoft
⭐ Sigma 5.0 Batch: Apna College
📚 CORE JAVA: Hari Krishna Sir | Naresh IT
💻 JAVA FULL STACK COURSE
🌟 Adul Bari Python🔵 C++ & C++ with DSA
🖥️ PYTHON FULL STACK: KV Rao 2024
⚙️ PYTHON DSA: DurgaSoft
📚 KRISH NAIK Python Course
💡 ALPHA DSA C++
🚀 PW C++ DSA
🔥 Love Babbar Supreme Batch
📘 DSA Abdul Bari
---
🌐 Web Development
🎨 PW Skills Web Development📂 Database & SQL
⭐ Delta 5.0 Batch: Apna College
💻 DOT Batch: Love Babbar
🌈 Namaste React
📜 Namaste JavaScript
⚙️ Namaste NodeJs
🌟 Cohort 3.0: Web + DevOps
🔧 Full Stack Web Development: Naresh IT & DurgaSoft
🚀 Sanket Singh Full Stack Web Development
🔗 NodeJS: Sanket Singh
🌟 MERN Stack: Anuj Bhaiya
🖥️ PHP: Ram Sir
🎨 Frontend Development: IIT Madras
📚 Almabetter Full Stack Web Development Course
⚡ ASHOK IT Node JS
⭐ UI Full Stack: Sudhakar Sharma | Naresh IT
🔥 Sherians Frontend Course
📊 MongoDB: Durga Sir
⭐ Namaste SQL: Akshay Saini
🖥️ SQL: DurgaSoft & Naresh IT
🔧 ORACLE
🤖 Data Science & Machine Learning
🚀 PW Skills Data Science Course🛠️ DevOps & Azure
📊 iNeuron Complete Data Science
🌟 Data Science Master 2.0
📚 Data Science: IIT Madras
⚙️ MLOps Course: Naresh IT
⚡ Full DevOps Course: Tech Nana🌟 Other Courses
⭐ Hey DevOps 5.0
🔧 Ashok IT DevOps
🌐 MS Azure DevOps Course
📊 Azure Data Engineering: Gareth | Naresh IT
☁️ Azure Cloud Mastery
🚀 DevOps with AWS
☁️ Google Cloud Platform: Mr. Saidul
📚 ASP.NET: Bangar Raju | Naresh IT
🏆 GATE CSE Prep: PW 1500
📱 App Development: Harnoor Singh
📱 Android Using Kotlin: DurgaSoft
⚙️ Selenium: Naresh IT
🤖 Applied AI Full Course
💻 C#: Bangar Raju
📀 Unix/Linux: Imran 2024 | Naresh IT
📊 Power BI Course
☁️ Salesforce: Adnan | Naresh IT
🛡️ Cyber Security: iNeuron
📈 Digital Marketing: Ramakanth | Naresh IT
🔧 Git for DevOps: DurgaSoft
📊 Dhruv Rathee Management Course
✨
100+ More Demanding Courses to Explore!
Price starting at ₹99 ..........
For more information and discount 😉 - DM - @Myhurthearts
Which of the following is the correct extension of the Python file?
Anonymous Quiz
86%
.py
12%
.python
2%
None of the mentioned
0%
.p
Is Python code compiled or interpreted?
Anonymous Quiz
53%
Python code is both compiled and interpreted
20%
Python code is neither compiled nor interpreted
12%
Python code is only compiled
14%
All of the mentioned
Who developed Python Programming Language?
Anonymous Quiz
69%
Guido van Rossum
15%
Rasmus Lerdorf
8%
Wick van Rossum
8%
None of the mentioned
All keywords in Python are in _________
Anonymous Quiz
19%
Capitalised
46%
Lowercase
19%
Uppercase
17%
None of the mentioned
What will be the value of the following Python expression?
4 + 3 % 5
4 + 3 % 5
Anonymous Quiz
23%
7
35%
2
25%
4
18%
1
Which of the following is used to define a block of code in Python language?
Anonymous Quiz
42%
Indentation
9%
Keys
25%
Brackets
25%
All of the mentioned
Which keyword is used for function in Python language?
Anonymous Quiz
20%
Function
58%
Def
14%
Define
8%
Fun
Which of the following character is used to give single-line comments in Python?
Anonymous Quiz
28%
//
42%
#
12%
!
18%
/*
What will be the output of the following Python code?
i = 1
while True: if i%3 == 0: break print(i) i + = 1
i = 1
while True: if i%3 == 0: break print(i) i + = 1
Anonymous Quiz
40%
1 2 3
28%
1 2
23%
Error
9%
None of the mentioned
Which of the following functions can help us to find the version of python that we are currently working on?
Anonymous Quiz
14%
sys.version(1)
20%
sys.version(0)
45%
sys.version()
20%
sys.version
Python supports the creation of anonymous functions at runtime, using a construct called __________
Anonymous Quiz
14%
Pi
42%
Anonymous
36%
Lambda
8%
None of the mentioned
What will be the output of the following Python code snippet if x=1?
Anonymous Quiz
11%
4
13%
2
71%
1
5%
8
What does pip stand for python?
Anonymous Quiz
12%
Pip install python
29%
Pip install package
45%
Preferred Installer Program
14%
All of the mentioned
❤1
What are the values of the following Python expressions?
2**(3**2)
(2**3)**2 2**3**2
2**(3**2)
(2**3)**2 2**3**2
Anonymous Quiz
36%
512, 64, 512
29%
512, 512, 512
22%
Error
14%
64, 64, 64
Which of the following is the truncation division operator in Python?
Anonymous Quiz
19%
|
32%
//
33%
/
16%
%