Logo 
Search:

Interview FAQs

Submit Interview FAQ
Home » Interview FAQsRSS Feeds
C++ Programming
Comments: 0

Which of the following OOP concepts is supported by Inheritance?

Options

a) Abstraction
b) Encapsulation
c) Reusability
d) None of the above

Answer : c) Reusability
Posted By:Agatha Miller      Posted On: Dec 25

C++ Programming
Comments: 0

What is an Infix Expression in dfs (data file structure)?

Whenever operator is between the operands, then the expression is called infix expression.
Posted By:Adriane Miller      Posted On: Dec 25

C++ Programming
Comments: 0

Write an algorithm for Poping the Topmost element of stack using Singly Linked List in dfs.

PROCEDURE POP_STACK(TOP)
[Where top of the stack has been caught in pointer ‘TOP’]

1. [Removing the top node of stack]

P <-- T
T <-- LINK (T)
Call REMOVE NODE(P)
return (T).

2. [FINISH]
return.
Posted By:Arnelle Schmidt      Posted On: Dec 24

Assembly Language
Comments: 0

Define stack and explain stack related instructions

The stack is a group of memory locations in the R/W memory that is used for the temporary storage of binary information during the execution of the program. The stack related instructions are PUSH & POP
Posted By:Joshua Bouchard      Posted On: Dec 23

Assembly Language
Comments: 0

What are the various registers in 8085?

Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085 .
Posted By:Jarvia Miller      Posted On: Dec 21

C++ Programming
Comments: 0

Inserting an element into the stack using array in dfs (data file structure)

PROCEDURE ADD(ITEM, STACK, N, TOP)
[Inserts ‘item’ into the ‘stack’ of maximum size ‘n’, top is the number of elements currently in ‘stack’.]

1. [Overflow ?]

if (TOP >= N)
write Stack is full.
return.

2. [Increment top]

top <-- ...
Posted By:Adaliz Fischer      Posted On: Dec 20

  87  88  89  90  91  92  93  94  95  96  97