Daily Exam Programmer 06-07-2024

Join us on Telegram


Q 1:

What is the output of the following program?

class Box {

public:

double length, breadth;

double height;

};

void main()

{

Box Box1;

double volume;

Box1.height = 5;

Box1.length = 6;

Box1.breadth = 7.1;

volume = Box1.height*Box1.length*Box1.breadth;

cout<<volume;

}

(1) 210
(2) 213
(3) 217
(4) 215
Correct Answer: 213

Q 2: How many methods are defined in the serializable interface
(1) One
(2) Two
(3) None
(4) Four
Correct Answer: None

Q 3: Spiral model was developed by
(1) Victor Bisili
(2) Berry Bohem
(3) Roger Pressoman
(4) Bev Littlewood
Correct Answer: Berry Bohem

Q 4: Which of the following  is not an approach to software cost estimation?
(1) Empirical
(2) Heuristic
(3) Analytical
(4) Critical
Correct Answer: Critical

Q 5: A ........ is a repeater
(1) regenerator
(2) ADM
(3) STS multiplexer/demultiplexer
(4) none
Correct Answer: regenerator

Q 6: The first section of a URL identifier is the
(1) Protocol
(2) path
(3) host
(4) port
Correct Answer: Protocol

Q 7: Which protocol is not a transport layer protocol
(1) UDP
(2) SCTP
(3) TCP
(4) SNTP
Correct Answer: SNTP

Q 8: Which of the following system is responsible for ensuring durability ?
(1) Recovery system
(2) Compiler system
(3) Concurrency control system
(4) Atomic system
Correct Answer: Recovery system

Q 9: One of the advantages of a relational database model is
(1) Structural dependence
(2) Conceptual complexity
(3) Complex database design
(4) Easier database design
Correct Answer: Easier database design

Q 10:

Which is not a valid join in SQL

(1) left outer join
(2) partial outer join
(3) full outer join
(4) natural full outer join
Correct Answer: partial outer join