All Questions
Question

What are the advantages of functions prototypes in C++?

Subject Object Oriented Programming
NU Year 2010
Question

Differentiate between constructor and destructor?

Subject Object Oriented Programming
NU Year 2010 2009
Question

Write a C++ program that introduces the use of static data member and static member function

Subject Object Oriented Programming
NU Year 2010
Question

When do you declare member of a class static? Explain with example

Subject Object Oriented Programming
NU Year 2010
Question

How are the objects created its memory?

Subject Object Oriented Programming
NU Year 2010
Question

Write a class to represent time that includes the member function to perform the following:-

- Take input for time and hours and minutes

- Multiply time by scalar value

- Add two times

- Display the time in the form hours : minutes


Subject Object Oriented Programming
NU Year 2010 2009
Question

Write the differences between overloading and operator overloading.

Subject Object Oriented Programming
NU Year 2010 2009
Question

Explain about inline function.

Subject Object Oriented Programming
NU Year 2010 2009
Question

When a friend function is compulsory? Explain with example

Subject Object Oriented Programming
NU Year 2010 2009
Question

Explain with example, how an object of a class contains objects of other classes created?

Subject Object Oriented Programming
NU Year 2010
Question

What does polymorphism means in C++ language? Now as polymorphism achieved at(i)compile time and (ii) run time?

Subject Object Oriented Programming
NU Year 2010
Question

When do we make virtual function “pure"? What are the implications of making a function a pure virtual function?

Subject Object Oriented Programming
NU Year 2010
Question

Create a base class called ‘shape'. Use this class to store two, ‘double'. type values that could be used to compute the area of figures. Derive two specific classes called ‘triangle' and ‘rectangle' from the base ‘shape’. Add to the base class, a member function 'getdata( )'; to, initialize base class data members and another member function 'display-area ( )' to compute and 'display the area of figures. Make 'display-
area ( )' as s virtual function and redefine this function in the derived classes to suit their requirements.

Subject Object Oriented Programming
NU Year 2010
Question

What is file mode?Describe various file mode available

Subject Object Oriented Programming
NU Year 2010
Question

Write a C++ program to manipulate a stack where push and pop functions are used to help this manipulation.

Subject Object Oriented Programming
NU Year 2010 2009
Question Write a simple C++ program to show the use of copy constructor
Subject Object Oriented Programming
NU Year 2010 2009
Question

What are the striking features of object-oriented programming?

Subject Object Oriented Programming
NU Year 2009
Question

Write the differences between object-oriented language and object-based language?

Subject Object Oriented Programming
NU Year 2009
Question

Distinguish between arrays within a class and arrays of objects? 

Subject Object Oriented Programming
NU Year 2009
Question

What is forward declaration of object? When do we need forward declaration?

Subject Object Oriented Programming
NU Year 2009
Question

How ambiguous situation arised at  function overloading? Explain with appropriate example

Subject Object Oriented Programming
NU Year 2009
Question

What do you mean by dynamic memory allocation? How can you differ 'new' and 'delete' operator with malloc ( ) and free ( ) function  on behalf of dynamic memory allocation?

Subject Object Oriented Programming
NU Year 2009
Question

Can you use the same function name for a member function of a class and an outside (non member ) function in the same program file? If yes how are they distinguished? If no give reasons

Subject Object Oriented Programming
NU Year 2009
Question

When a base class is inherited as public by the derived class? What happens to its public members? What happens to its private members? If the base has inherited as private by the derived class. What happens to it public and private member?

Subject Object Oriented Programming
NU Year 2009
Question

What do you mean by virtual function? How does a virtual function help to achieve run time plymorphism?

Subject Object Oriented Programming
NU Year 2009
Question

Distinguish between water-fall model and fountain model?

Subject Object Oriented Programming
NU Year 2009
Question

When an operator is overloaded ? Does it lose any of its original functionality?

Subject Object Oriented Programming
NU Year 2009
Question

Write the output of the following code :

include<iostream.h>

int x = 50;

Void main (void){

            int x = 100;

            {

               int y = x;

               int y = 75;

                count<<y<<endl<<x<<endl<<::x<<endl;

             }

             count<<x<<endl<<::x;

             }

Subject Object Oriented Programming
NU Year 2009
Question

Distinguish between default constructor and default value constructor? When do you need default value constructor?

Subject Object Oriented Programming
NU Year 2009
Question Define microprocessor. What is the difference between microprocessor and CPU?
Subject Microprocessor and Assembly Language
NU Year 2014 2012
Question

Write down the features of 8, 16 and 32 bit microprocessor?

Subject Microprocessor and Assembly Language
NU Year 2014
Question

What are the advantages of an assembly language in comparison with high level language?

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Explain. why 8086 internal architecture is divided into BIU and EU? Discuss A-bus, B-bus and C-bus and also their uses.

Subject Microprocessor and Assembly Language
NU Year 2014 2012
Question

Write the function of segment register and flag register.

Subject Microprocessor and Assembly Language
NU Year 2014 2012
Question

Differentiate between procedure and macros.

Subject Microprocessor and Assembly Language
NU Year 2014 2012
Question

What is addressing mode? Explain Direct , Indirect and Register addressing mode with examples.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Define instruction format. Explain different types of instruction function.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Explain concept of segmented, memory. What is its advantages?

Subject Microprocessor and Assembly Language
NU Year 2014
Question

What physical address is represented by
(i) 4370 : 561EH;
(ii) 7A32 : 0028H.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Design a memory 16K x 8 using 4k x 4 chip

Subject Microprocessor and Assembly Language
NU Year 2014 2010
Question What is purpose of 8086 MN/MX pin?
Subject Microprocessor and Assembly Language
NU Year 2014
Question

Describe 8086 general purpose registers.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Write down the difference between the instructions MOV and EEA with example.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Write an assembly language program to display a string.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Write the 8086 assembly statement which will perform the following.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

In the peripheral mapped l/O can an input port and an output port have the same port address. Explain.

Subject Microprocessor and Assembly Language
NU Year 2014
Question

Show how a Direct Memory Access (DMA) controller derive can be connected in an 8086 system and discuss how a DMA data transfer take place.

Subject Microprocessor and Assembly Language
NU Year 2014 2012
Question

Define hardware and software interrupts.

Subject Microprocessor and Assembly Language
NU Year 2014 2009
Question

Write down a program to convert lower case to upper case letter

Subject Microprocessor and Assembly Language
NU Year 2014 2012 2011
Question

What is microprocessor? Write down the differences between register based and accumulator based microprocessor.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Differentiate between machine and assembly language. Write down the steps to create and run an assembly program

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Write down the functions of control flags in flag register.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Differentiate between procedure and macros.

Subject Microprocessor and Assembly Language
NU Year 2013 2011
Question

Draw the inernal architecture of 8086 microprocessor and describe.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Describe the function of AX, CX and IP register of 8086 microprocessor.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Draw the flag register of 8086 microprocessor and describe the function of I, D and O flag bits.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Explain real mode memory address technique.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Write the 8086 assembly statement which will perform following operations:-
(i) Load the number 7986H into the BP register.
(ii) Copy the contents of the AX register to the DS register.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Design a memory 16K x 8 using 4Kx4 chip.

Subject Microprocessor and Assembly Language
NU Year 2013 2011
Question

Explain the concept of segmented memory. What is its advantages?

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Describe the Execution Unit (EU) of the 8086 microprocessor.

Subject Microprocessor and Assembly Language
NU Year 2013 2011
Question

What is an interrupt? Discuss different types of interrupts.

Subject Microprocessor and Assembly Language
NU Year 2013 2010
Question

Draw the block diagram of the 825925A programmable interrupt controller.

Subject Microprocessor and Assembly Language
NU Year 2013 2012 2010
Question

How a real mode interrupt is accomplished in 8086 microprocessor? Explain with example.

Subject Microprocessor and Assembly Language
NU Year 2013 2010
Question

What is the function of a coprocessor? Briefly discuss about the math  coprocessor 8087

Subject Microprocessor and Assembly Language
NU Year 2013 2011 2010
Question

Draw the block diagram of 8085 microprocessor and describe.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

What are the basic differences between 8086 and 80286 microprocessor?

Subject Microprocessor and Assembly Language
NU Year 2013
Question

What is RISC and CISC processor? Describe in brief.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

What are the advantages and disadvantages of assembly language program over high level language program?

Subject Microprocessor and Assembly Language
NU Year 2013
Question

What is procedure? What is NEAR and FAR procedure? Explain what happen after the CALL and RET instructions in relation with procedure.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Write a procedure to read a two digit number from keyboard and save that number in a variable.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Describe memory bank technique.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

Write an assembly language program to display a message using macro.

Subject Microprocessor and Assembly Language
NU Year 2013
Question

What determines that microprocessor is  8, 16 or 32 bit

Subject Microprocessor and Assembly Language
NU Year 2013
Question

What are the advantages of an assembly in compassion with high level languages?

Subject Microprocessor and Assembly Language
NU Year 2012
Question What is the basic difference between 8085 and 8086?
Subject Microprocessor and Assembly Language
NU Year 2012 2010
Question

Why are the program counter and the stack pointer 16-bit registers?

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Discuss the various addressing modes of 8086. What is an effective address or offset?

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Write a assembly language program to determine the largest number among three numbers

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Describe the operation that an 8086 will perform when it executes each of the following instruction:-

(1) MOV BX, 03FFH

(2) MOV AL, ODBH

(3) MOV DH, CL

(4) MOV BX, AX

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Describe the difference between MOV AX , 2437H and MOV AX [2437H]

Subject Microprocessor and Assembly Language
NU Year 2012
Question

What physical address is represented by 7A32 : 0028H and 4370 : 561EH

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Suppose AX contain 7FFFh and BX contains 0004h after the operation of ADD AX , BX . Find the content of the CF, SF, ZF , PF and OF

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Define interrupt? How many interrupts are available in 8086? List the predefined software interrupts that are available in 8086

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Explain the functions of ALE and IO/M signals of the 8085 microprocessor?

Subject Microprocessor and Assembly Language
NU Year 2012
Question

In the peripheral mapped I/O can an input port and output port have the same port address? Explain

Subject Microprocessor and Assembly Language
NU Year 2012
Question

A memory location has physical address 4A37B compute:-

(i) the segment number if the offset address is 123BH

(ii) The offset address if the segment number is 40FFH

Subject Microprocessor and Assembly Language
NU Year 2012
Question

Define Intel 80286 microprocessor. What are the difference between Intel 80186 and 80286 microprocessor?

Subject Microprocessor and Assembly Language
NU Year 2012 2010
Question

Describe flag register

Subject Microprocessor and Assembly Language
NU Year 2012
Question

What is program segment prefix? Write down the differences between register based and accumulator based microprocessor.

Subject Microprocessor and Assembly Language
NU Year 2011
Question

Differentiate between machine and assembly language. Write down the steps to create and run an assembly program.

Subject Microprocessor and Assembly Language
NU Year 2011
Question

Write down the functions of control flags in flag register

Subject Microprocessor and Assembly Language
NU Year 2011 2010
Question

Explain the block diagram 8086 microprocessor.

Subject Microprocessor and Assembly Language
NU Year 2011
Question For a memory location whose PA is 2256Ah, give the address in segment : offset from segment 2256h.

Subject Microprocessor and Assembly Language
NU Year 2011
Question

Write down difference between linker and assembler.

Subject Microprocessor and Assembly Language
NU Year 2011
Question

Write the 8036 assembly statement which will perform following Operations:-

(i) Load the number 79861! into the BP register

(ii) Copy the contents of the AX register the DS registrar

Subject Microprocessor and Assembly Language
NU Year 2011
Question

How SP and BP register are used to access stack segment?

Subject Microprocessor and Assembly Language
NU Year 2011
Question

Discuss the Addressing modes of 8036 microprocessor. Explain with proper example.

Subject Microprocessor and Assembly Language
NU Year 2011
Question

Discuss various types of Interrupts.

Subject Microprocessor and Assembly Language
NU Year 2011
Question

Briefly explain the 8086 instruction format.

Subject Microprocessor and Assembly Language
NU Year 2011
Search By
Sort By Marks
Sort By Marks
Check For Filter