Tag: Ireland
-

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. Exception Show Answer Answer:-B. 4050 Explanation In JavaScript, the alert method does the typecasting and converts the value of the variable “valueinit” to a string after that it concatenates…
-

Variables in JavaScript ll
Q 1. Which of the following variables takes precedence over the others if the names are the same? A. Global variable B. The two of the above C. The local element D. None of the above Show Answer Answer:-C. The local element Explanation In JavaScript, the local variable takes precedence over the global variable if…
-

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 networking deals with the tangible hardware and infrastructure components of a network, while logical networking focuses on the abstract representation…
-

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 namespace definitionC. Namespace has access specifiers like private or publicD. Namespace definitions can be nested Show Answer…
-

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 exams and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher,…
-

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 that performs its action on three operandD. Operator that performs its action on any number of…
-

C++ Programming Questions and Answers – Operator Overloading – 1
C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Operator Overloading – 1”. Q 1. What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class A { static int a; public: void show() { a++; cout<<“a: “<<a<<endl; } }; int A::a = 5; int…
-

C++ Programming Questions and Answers – Operator Functions
C++ questions and puzzles focuses on “Operator Functions”. One shall practice these questions and puzzles to improve their C++ programming skills needed for various interviews company interviews, placements, entrance exams and other competitive exams. These programming puzzles can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering…
-

C++ Programming Questions and Answers – Objects
C++ Multiple Choice Questions focuses on “Objects”. One shall practice these questions to improve their C++ programming skills needed for various interviews , placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT…
-

C++ Programming Questions and Answers – Classes – 2
C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Classes – 2”. Q 1. Which category of data type a class belongs to?A. Fundamental data typeB. Derived data typeC. Atomic data type D. User defined derived data type Show Answer Answer:-D. User defined derived data type Explanation Fundamental/Atomic data type includes int, char, float,…
