What is the output of the following C++ code? #include
using namespace std; class Base { public: virtual void show() { cout<<"Base"; } }; class Derived: public Base { public: void show() override{ cout<<"Derived"; } }; int main() { Base* ptr; Derived d; ptr=&d; ptr->show(); return 0; }
Previous 10 Questions — JECA MCA 2025
Nearest first
1
2
3
4
5
6
7
8
9
10
What will be the output of this program? #include
using namespace std; class Test { public: static…
Topic: JECA MCA 2025
Find the output from the following C++ code snippet: class A { public: void show(){ cout<<"Cl…
Topic: JECA MCA 2025
A complete binary tree has 63 nodes. How many leaf nodes does it have?
Topic: JECA MCA 2025
Consider the following operations on a singly linked list initially containing the elements: 10 → 20 → 30 → 40 (i)…
Topic: JECA MCA 2025
Five elements P, Q, R, S, T are pushed onto a stack starting from P. The stack is then popped 4 times, and each popped …
Topic: JECA MCA 2025
What will be the output of the following C code? #include
int main() { int x; x = 4<3?100:3==3?…
Topic: JECA MCA 2025
A development team found 90 defects during the design phase. However, 10 additional design defects were discovered duri…
Topic: JECA MCA 2025
A software module contains 1500 lines of code and 15 defects were found during testing. What is the defect density of t…
Topic: JECA MCA 2025
What will be the output of the following C program? #include
int recur(int n) { if(n == 0) return …
Topic: JECA MCA 2025
An artificially intelligent car decreases its speed based on its distance from the car in front of it. Which algorithm …
Topic: JECA MCA 2025
Next 10 Questions — JECA MCA 2025
Ascending by ID
1
2
3
4
5
6
7
8
9
10
Which of the following are true about cyclomatic complexity?
Topic: JECA MCA 2025
A testing phase executes 180 test cases out of 200 planned, with 162 passes and 18 failures. Which are true?
Topic: JECA MCA 2025
In the context of Software Development Life Cycle (SDLC), which of the following statements is correct?
Topic: JECA MCA 2025
The number of cross point needed for 10 lines cross point switch in full duplex in nature and there are no self connect…
Topic: JECA MCA 2025
Maximum data rate of a channel for noiseless 3 KHz binary channel is
Topic: JECA MCA 2025
A computer with 32 bit wide data bus uses 4K × 8 static RAM memory chips. The smallest memory of this computer is
Topic: JECA MCA 2025
A machine needs a minimum of 100 second to sort 1000 names by quick sort. The minimum time needed to sort 100 names wil…
Topic: JECA MCA 2025
Choose the correct answer: If X is a Boolean variable then
Topic: JECA MCA 2025
Which of following units can be used to measure the speed of a computer?
Topic: JECA MCA 2025
Which of the following are advantages of using a linked list over arrays?
Topic: JECA MCA 2025