Python Questions and Answers – Lists – 4
Python Programming Questions & Answers focuses on “Lists”. Q 1. What will be the output of the following Python code? def f(i, values = []): values.append(i) return values f(1)f(2)v = f(3)print(v) A. [1] [2] [3]B. [1] [1, 2] [1, 2, 3]C. [1, 2,…
Python Questions and Answers – Lists – 3
Python Programming Questions & Answers focuses on “Lists”. Q 1. Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.reverse()?A. [3, 4, 5, 20, 5, 25, 1, 3]B. [1, 3, 3, 4, 5, 5, 20, 25]C. [25, 20, 5, 5, 4, 3, 3, 1]D. [3, 1, 25, 5,…
List of Indian States and Capitals
List of Indian States and Capitals List of Indian States and Capitals S.NO State Capitals CM Governor 1 Andhra Pradesh Amaravati YS Jagan Mohan Reddy Biswa Bhusan Harichandan 2 Arunachal Pradesh Itanagar Pema Khandu B. D. Mishra 3 Assam Dispur Himanta…
Operators and expressions of JavaScript
Q 1. See the given code of JavaScript and choose the correct output from the following: var string1 = “40”; varvalueinit=50; alert( string1 +intvalue); A. 90 B. 4050 C. 4090 D.…
Networking – What is the difference between physical
It seems like you might be asking about the difference between physical and logical networking in the context of a 1000-word explanation. Here’s a concise breakdown: Physical Networking: Logical Networking: Key Differences: In summary, physical…
C++ Programming Questions and Answers – Namespaces – 2
C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Namespaces – 2”. Q 1. Pick the incorrect statement for namespaces in C++.A. Namespace declarations are always global scopeB. Keyword namespace is used at the starting of a…
C++ Programming Questions and Answers – Conversion Operators
C++ Multiple Choice Questions focuses on “Conversion Operators”. One shall practice these questions to improve their C++ programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance…
C++ Programming Questions and Answers – Operator Overloading – 2
C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Operator Overloading – 2”. Q 1. What is a binary operator?A. Operator that performs its action on a single operandB. Operator that performs its action on two operandC. Operator…
Current Affairs Quizs Question – September, 2024
Q 1. What is the name of the cyclone that recently formed over the Kutch coast in Gujarat? A. Cyclone GulabiB. Cyclone JawarC. Cyclone AsnaD. Cyclone Satrang Show Answer Answer:- C. Cyclone Asna Explanation Cyclone Asna formed from a deep depression over…
Maths Quizs Question and Answers One liner
Q 1. What symbol is used to symbolise percentage? Show Answer Answer:-% Q 2. What is the sum of 18 – 9? Show Answer Answer:-9 Q 3. How many sides does a pentagon have? Show Answer Answer:-5 Q 4. What is the sum of 7 x 7? Show Answer Answer:-49 Q 5. If…