Interview Questions

Q:

Which among the following are not access Specifiers in C++?

A) Public B) Protected
C) Default D) Private
 
Answer & Explanation Answer: C) Default

Explanation:

Default is the access specifier in java not in C++

Report Error

View Answer Report Error Discuss

Filed Under: C++

4 7931
Q:

If everyone on the team is a veteran, what will you do to fit in ?

Answer

This answer shows steps of becoming a team member that doesn't appear to be in training. It is describing ways to limit training times in meetings, and include that a new worker could benefit an existing team by making a list of ideas.


Even if everyone is a veteran, I feel confident I can fit right in. I would prepare as much as I can by reading existing material to catch up on the project. I would plan for meetings by making a list of questions I have and finding the answers to these questions before the meeting. I would also create a list of ideas through the documents I have read. A fresh mind could help with creative solutions. I know that I would be required to study a lot in the beginning, but I would be able to do so at home or by working late in the office.

Report Error

View answer Workspace Report Error Discuss

13 7920
Q:

How to handle error in the destructor?

A) throwing B) terminate
C) both a & b D) none of the mentioned
 
Answer & Explanation Answer: B) terminate

Explanation:

It will not throw an exception from the destructor but it will the process by using terminate() function.

Report Error

View Answer Report Error Discuss

Filed Under: C++

3 7901
Q:

How many ways are there to initialize int with a constant?

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:

There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.

int foo = 123;

 

int bar (123);

Report Error

View Answer Report Error Discuss

Filed Under: C++
Job Role: Software Architect

1 7812
Q:

In OSI network architecture, the routing is performed by

A) transport layer B) session layer
C) network layer D) data link layer
 
Answer & Explanation Answer: C) network layer

Explanation:

in_osi_network_architecture_the_routing_is_performed_by1553604163.jpg image

 

In networking, the Open Systems Interconnection is commonly called as OSI model. It has a 7 layer architecture for the communication.

 

In OSI network architecture, the routing is performed by network layer which is layer number 3 with the help of intermediate routers.

Report Error

View Answer Report Error Discuss

4 7803
Q:

What do you like most about being a medical assistant?

Answer

Employers often ask this question to gauge whether you are someone who enjoys your job and wants to perform well on the job. Simply explain what you like, and tell why you find these responsibilities to be rewarding.


 


Example Answer ::


My favorite part of being a medical assistant is working with different patients who come into the office. I like being the friendly face that patients see when they come back into the exam area. I want patients to enjoy coming into the office, and I want to represent my office well.

Report Error

View answer Workspace Report Error Discuss

6 7780
Q:

How many types of macros are there in c++?

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:

There are two types of macros. They are object-like and function-like.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 7739
Q:

What is SQL*Plus? Explain its features

Answer

SQL*plus allows SQL and PL/SQL scripts to interactively run in command line.

It allows three kinds of commands to run; SQL, PL/SQL and SQL * Plus commands. It’s most commonly used by DBA’s to interact with the oracle database.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

14 7724