Tuesday, 6 March 2018

CPU Practical List-2018

                                   Government Engineering College, Patan
Subject Code: - 2110003
Subject Name: - Computer Programming and Utilization
Sem: - II
                                       Practical List-2018

1. W. A. P. to print name and address.
2. W. A. P. to complete the computation: a) Addition b) Subtraction c) Multiplication d) Division.
3. W. A. P. to find average of three numbers.
4. W. A. P. to find maximum number from 3 no.s using conditional operator.
5. W. A. P. to swap two numbers: - a) Using temporary variable.
                                                         b) Without using temporary variable.
6. W. A. P. to print maximum of given three no.s using nested if statement.
7. W. A. P. which displays menu to select arithmetic operation and perform according to selected
option using switch and break statement.
           a) Select option as an integer value.
           b) Select option as a character value.
8. W. A. P. to find maximum of N numbers.
9. W. A. P. to print following pattern using nested for loop.
1
2 3
4 5 6
7 8 9 10
10. W. A. P. to which displays addition of digits in a given number using while loop.
11. W. A. P. to find that given number is Armstrong or not using while loop.
12. W. A. P. to check whether given number is palindrome or not.
13. W. A. P. to find maximum and minimum number from given N no.s using array.
14. W. A. P. to find matrix multiplication.
15. W. A. P. to find length of string using user-defined function.
16. W. A. P. to find how many vowels in a given string.
17. W. A. P. with function name mul ( ) that takes two values and returns value.
18. W. A. P. to find factorial of a given number using recursion.
19. W. A. P. to store information about books and display those books which cost less then Rs.200.
20. W. A. P. to calculate average marks of 3 students for 3 different subject using structure (Concept
of array of structure).
21. A file named DATA contains a series of integer numbers. W. A. P. to read this numbers and
then write all odd numbers to a file to be called ODD and all even numbers to a file to be called
EVEN.
22. W. A. P. that uses the functions ftell and fseek.
23. W. A. P. that will receive a filename and a line of text as command line arguments and write the
text to the file.

Wednesday, 21 February 2018

Notice for 2nd Semester Students


Date:  21-Feb-2018

NOTICE


To: All 2nd Semester Students,
                                                                                                                 
           Here is to inform all the 2nd Semester Students that, an Academic term is in progress from 11/01/2018, but still many students are not attending their lectures on regular basis, which is very serious matter.

          All 2nd Semester students should remain present during CPU Lecture & CPU Practical; otherwise strict action will be taken.  

Saturday, 7 October 2017

Feedback Form Sem 7

All the students have to compulsory fill this form before 14/10/2017.
Link

Feedback Form Sem 5

All the students have to compulsory fill this form before 14/10/2017.
Link

Feedback Form Sem 3

All the students have to compulsory fill this form before 14/10/2017.
Link

Tuesday, 19 September 2017

MPI Assignment for Vth sem Student 2017

GOVERNMENT ENGINEERING COLLEGE, PATAN
B.E. SEMESTER IV (CE)
MICROPROCESSOR AND INTERFACING
ASSIGNMENT

1.       Draw and Explain architecture of 8085 microprocessor in detail.
2.       Explain 8085 bus organization in detail.
3.       Explain Flag Register of 8085.
4.       Give the use of following pins .
5.       a. ALE                     b. HOLD                 c. HLDA                  d. READY               e. TRAP                  f. SID
6.       Explain the following instructions of 8085. Also mention about the addressing mode and flags the instruction affects.
a.       LHLD 1000H (2) RAL (3) DAD D (4) PUSH PSW (5)PCHL
7.       What is meant by Bus? Why is the address bus unidirectional and the data bus bidirectional ?
8.       What do you understand by the term Addressing mode? Explain the Addressing modes supported by 8085 by giving suitable examples.
9.       Explain Memory Mapped I/O and Peripheral I/O and make the comparison between them.
10.    Explain the function of RIM and SIM instructions.
11.    Write a detailed note on Memory Classification.
12.    List the four categories of 8085 instructions that manipulate the data.
13.    Explain microprocessor operation?
14.    Explain Memory Mapped I/O and Peripheral I/O and make the comparison between them.
15.   Draw the timing diagram of following instructions of an 8085 microprocessor.                                                  a. MVI A, 32H           b.IN 00h     c. STA 2050H      d. DAD
16.    Define the concept of subroutine. Explain the CALL and RET instructions of the 8085 microprocessor with example.
17.    What is stack and stack pointer? Explain working of PUSH and POP instruction with suitable example.
18.    How many address lines are necessary on the chip of 2K byte memory?
19.    If the memory chip size is 1024 X 4 bits, how many chips are required to make up 2K bytes of memory?
20.    The memory map of a 4K byte memory chip begins at the location 2000 H. Specify the address of the last location on the chip and the number of pages on the chip.
21.    The memory address of the last location of an 8K byte memory chip is FFFF H. Find the starting address.
22.   What is instruction cycle? Explain using waveforms the fetch & execute cycle with reference of clock .
23.    Explain with a sketch how demultiplexing of AD bus takes place
24.    What is conditional &unconditional branching ? Illustrate the answer with an example.
25.    Using diagram illustrate logic pin out of the 8085 Microprocessor
26.    What are interrupts? List and explain the interrupt available in microprocessor 8085?
27.    Explain how address/data lines AD0-AD7 are de-multiplexed. Draw logic diagram to generate control signals MEMW, MEMR, IOW and IOR from IO/M,WR and RD.
28.    What is direct memory access? Explain interfacing of 8237 DMA controller with 8085 microprocessor. What is importance of DMA?


 Note:Student who get 12 or less than 12 marks in mid sem exam then submit assignment on or before 28/09/2017.