Logo 
Search:

c sharp Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » c sharpRSS Feeds
C++ Programming
Comments: 0

Write an algorithm for Selection Sort in dfs (data file structure).

1. [Loop on pass index]
Repeat through step 4 for pass=1 to n-1.

2. Initialize minindex
minindex <-- pass.

3. [Make a pass and obtain element with smallest value]
Repeat for i=pass+1,pass+2,….n.
If k[i] < k[minindex]
th...
Posted By:Sofia Hughes      Posted On: Oct 04

Assembly Language
Comments: 0

Distinguish between the memories mapped I/O peripheral I/O?

Memory Mapped I/O

- 16-bit device address
- Data transfer between any general-purpose register and I/O port.
- The memory map (64K) is shared between I/O device and system memory.
- More hardware is required to decode 16-bit address
- Ari...
Posted By:Maisie Hughes      Posted On: Oct 03

C++ Programming
Comments: 0

Which of the following is true about a function call in a C++ program?

Options

a) A function must be called atleast once
b) A function cannot be called from other functions
c) A function may be called whenever it is necessary
d) Both a and c

Answer : c) A function may be called whenever it is necessary
Posted By:Olivia Brown      Posted On: Oct 03

C++ Programming
Comments: 0

Write an algorithm for Copying a Binary Tree in dfs (data file structure).

PROCEDURE COPY(ROOT)
[Given a binary tree whose root node address is given by the pointer value ROOT and this algorithm generates a copy of the tree and returns the address of its root node. NEW is a temporary pointer variable].

1. [Cheching for...
Posted By:Muhammad Evans      Posted On: Oct 02

Assembly Language
Comments: 0

What is the use of ALE

The ALE is used to latch the lower order address so that it can be available in T2 and T3 and used for identifying the memory address. During T1 the ALE goes high, the latch is transparent ie, the output changes according to the input data, so the ou...
Posted By:Isaac Evans      Posted On: Oct 01

C++ Programming
Comments: 0

which class members does the derived class inherit from base class? - select option

5. According to the following code, which of the following class members does the derived class inherit from the base class?
class base
{
float x;
int y;
public:
int a;
void get_a();
void put_a();
}
class derived : public base
{
// member...
Posted By:Hayden Evans      Posted On: Sep 27

C++ Programming
Comments: 0

Write an algorithm for Selection Sort in dfs (data file structure).

1. [Loop on pass index]
Repeat through step 4 for pass=1 to n-1.

2. Initialize minindex
minindex <-- pass.

3. [Make a pass and obtain element with smallest value]
Repeat for i=pass+1,pass+2,….n.
If k[i] < k[minindex]
th...
Posted By:Sofia Hughes      Posted On: Oct 04

Assembly Language
Comments: 0

Distinguish between the memories mapped I/O peripheral I/O?

Memory Mapped I/O

- 16-bit device address
- Data transfer between any general-purpose register and I/O port.
- The memory map (64K) is shared between I/O device and system memory.
- More hardware is required to decode 16-bit address
- Ari...
Posted By:Maisie Hughes      Posted On: Oct 03

C++ Programming
Comments: 0

Which of the following is true about a function call in a C++ program?

Options

a) A function must be called atleast once
b) A function cannot be called from other functions
c) A function may be called whenever it is necessary
d) Both a and c

Answer : c) A function may be called whenever it is necessary
Posted By:Olivia Brown      Posted On: Oct 03

C++ Programming
Comments: 0

Write an algorithm for Copying a Binary Tree in dfs (data file structure).

PROCEDURE COPY(ROOT)
[Given a binary tree whose root node address is given by the pointer value ROOT and this algorithm generates a copy of the tree and returns the address of its root node. NEW is a temporary pointer variable].

1. [Cheching for...
Posted By:Muhammad Evans      Posted On: Oct 02

Assembly Language
Comments: 0

What is the use of ALE

The ALE is used to latch the lower order address so that it can be available in T2 and T3 and used for identifying the memory address. During T1 the ALE goes high, the latch is transparent ie, the output changes according to the input data, so the ou...
Posted By:Isaac Evans      Posted On: Oct 01

C++ Programming
Comments: 0

which class members does the derived class inherit from base class? - select option

5. According to the following code, which of the following class members does the derived class inherit from the base class?
class base
{
float x;
int y;
public:
int a;
void get_a();
void put_a();
}
class derived : public base
{
// member...
Posted By:Hayden Evans      Posted On: Sep 27

  28  29  30  31  32  33  34  35  36  37  38