Fahad
Fahad
@fahad
Prominent Member
Joined: Feb 1, 2023
Last seen: Nov 28, 2023
Topics: 250 / Replies: 162
Reply
RE: Which of the following is an invalid statement in Python?

Correct answer is: b). a b c = 1000 2000 3000 Explanation: Spaces are not allowed in variable names.

9 months ago
Forum
Reply
RE: Which of the following is true for variable names in Python?

Correct option is: a). unlimited length Explanation: Variable names can be of any length.

9 months ago
Forum
Reply
RE: All keywords in Python are in?

correct option is: d). None of the mentioned Explanation: In Python all the keywords are case sensitive. All keywords in python are in low...

9 months ago
Forum
Reply
RE: Which of the following is not a keyword in python?

Correct option is: a). eval Explanation: eval() will treat all of them as local variables. If you try to use keyword arguments when callin...

9 months ago
Forum
Reply
RE: Why are local variable names beginning with an underscore discouraged?

correct option is: a). they are used to indicate a private variables of a class Explanation: As Python has no concept of private variables...

9 months ago
Forum
Reply
RE: Which of the following is an invalid variable in Python?

Correct option is: b). b) 1st_string Explanation: A variable name cannot start with a number. A variable name can only contain alpha-numer...

9 months ago
Forum
Reply
RE: What is the maximum possible length of an identifier?

Correct answer is d). none of the mentioned Explanation: Python identifiers are "unlimited in length" but as per PEP-8 you should limit i...

9 months ago
Forum
Reply
RE: Is Python case sensitive when dealing with identifiers?

Correct option is: a). Yes Explanation: Case is always significant.

9 months ago
Forum
Reply
9 months ago
Reply
RE: How many parameters does GPT-4 have?

An illustration shows a tiny dot representing GPT-3 and its “175 billion parameters.” Next to it is a much, much larger circle representing GPT-4, wit...

9 months ago
Forum
Reply
RE: Which is better ChatGPT 3 or ChatGPT 4?

GPT-4 is significantly larger and more powerful than GPT-3, with 170 trillion parameters compared to GPT-3's 175 billion parameters. This allows GPT-4...

9 months ago
Forum
Reply
Answer to: What is CIA Triangle?

Ans. CIA triangle is a model for guiding information security policies in any organization. It stands for – Confidentiality – Maintaining the...

9 months ago
Reply
Answer to: What are the different types of cybersecurity?

Ans. Different types of cyber security are – Application security Cloud security Data security Mobile security Network security Data...

9 months ago
Reply
9 months ago
Forum
Reply
9 months ago
Forum
Page 1 / 11
Scroll to Top