SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY ADITYA SILVER OAK INSTITUTE OF TECHNOLOGY

Similar documents
SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY

QUESTION BANK CHAPTER 1 : OVERVIEW OF SYSTEM SOFTWARE. CHAPTER 2: Overview of Language Processors. CHAPTER 3: Assemblers

GUJARAT TECHNOLOGICAL UNIVERSITY

III) EXAMINATION, 2015 CS 331 : SYSTEM PROGRAMMING AND OPERATING SYSTEM I

2. (a) Explain the concept of virtual functions in C++ with suitable examples. (b) Explain the concept of operator overloading in C++.

CS 445: Data Structures Final Examination: Study Guide

Code No: Set No. 1

Information and Network Security

Six Marks Questions: ( ) 3) Find the value of the derivative of f (z) = at z = i. r r r r. ( ) where C: z-a = r. (p). f ( z)

Gujarat Technological University Sankalchand Patel College of Engineering, Visnagar B.E. Semester VII (CE) July-Nov Compiler Design (170701)

KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Microprocessors and Microcontrollers UNIT-I 8085 MICROPROCESSOR

PROGRAMMING IN C++ (Regulation 2008) Answer ALL questions PART A (10 2 = 20 Marks) PART B (5 16 = 80 Marks) function? (8)

B.Sc II Year Computer Science (Optional)

Short Notes of CS201

CS201 - Introduction to Programming Glossary By

SYED AMMAL ENGINEERING COLLEGE (An ISO 9001:2008 Certified Institution) Dr. E.M. Abdullah Campus, Ramanathapuram

2) Save the Macro definition:- The processor must store the macro instruction definitions which it will need for expanding macro calls.

D.K.M.COLLEGE FOR WOMEN (AUTONOMOUS), VELLORE-1.

(Following Paper ID and Roll No. to be filled by the student in the Answer Book)

COE428 Lecture Notes Week 1 (Week of January 9, 2017)

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical

Question Paper Code : 97044

LECTURE NOTES ON COMPILER DESIGN P a g e 2

Introduction to Programming Using Java (98-388)

About the Authors... iii Introduction... xvii. Chapter 1: System Software... 1

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach.

CSE 332 Autumn 2013: Midterm Exam (closed book, closed notes, no calculators)

DIVIDE & CONQUER. Problem of size n. Solution to sub problem 1

About this exam review

AP Computer Science A Course Syllabus

Hiroki Yasuga, Elisabeth Kolp, Andreas Lang. 25th September 2014, Scientific Programming

Code No: R Set No. 1

1. (a) What are the closure properties of Regular sets? Explain. (b) Briefly explain the logical phases of a compiler model. [8+8]

CSE548, AMS542: Analysis of Algorithms, Fall 2012 Date: October 16. In-Class Midterm. ( 11:35 AM 12:50 PM : 75 Minutes )

KLiC C Programming. (KLiC Certificate in C Programming)

Write the function of following in Windows Operating System:

CS606- compiler instruction Solved MCQS From Midterm Papers

PSD1C SYSTEM SOFTWAE UNIT: I - V PSD1C SYSTEM SOFTWARE

Paytm Programming Sample paper: 1) A copy constructor is called. a. when an object is returned by value

END-TERM EXAMINATION

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER-15 EXAMINATION Model Answer Paper

Introduction to Algorithms October 12, 2005 Massachusetts Institute of Technology Professors Erik D. Demaine and Charles E. Leiserson Quiz 1.

CLASS: II YEAR / IV SEMESTER CSE CS 6402-DESIGN AND ANALYSIS OF ALGORITHM UNIT I INTRODUCTION

Divide and Conquer 4-0

4. (a) With a neat sketch explain 8237 DMA controller and its operation? (b) With the help of basic cell explain SRAM and DRAM?

Java 2. Course Outcome Summary. Western Technical College. Course Information. Course History. Course Competencies

Syllabi of the Comprehensive Examination in Computer Science

Object Oriented Programming. Solved MCQs - Part 2

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY THIRD SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017 CS205: DATA STRUCTURES (CS, IT)

Object Orientated Analysis and Design. Benjamin Kenwright

Contents. 1 Introduction. 2 Searching and Traversal Techniques. Preface... (vii) Acknowledgements... (ix)

CMSC330 Fall 2016 Midterm #2 2:00pm/3:30pm

Reg. No. : Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, JANUARY First Semester GE 6151 COMPUTER PROGRAMMING

This page intentionally left blank

Test 1 Summer 2014 Multiple Choice. Write your answer to the LEFT of each problem. 5 points each 1. Preprocessor macros are associated with: A. C B.

Merge Sort. Run time typically depends on: Insertion sort can be faster than merge sort. Fast, able to handle any data

CS 4240: Compilers and Interpreters Project Phase 1: Scanner and Parser Due Date: October 4 th 2015 (11:59 pm) (via T-square)

Jana Kosecka. Linear Time Sorting, Median, Order Statistics. Many slides here are based on E. Demaine, D. Luebke slides

The Limits of Sorting Divide-and-Conquer Comparison Sorts II

MyProgram m i ng Lab. get with the programming. Through the power of practice and immediate personalized

Reg. No. : Question Paper Code : 27157

We can use a max-heap to sort data.

CPSC 311: Analysis of Algorithms (Honors) Exam 1 October 11, 2002

Sai Nath University. Assignment For BCA 3 RD Sem.

CS 411 Analysis of Algorithms, Fall 2012 Midterm Exam Solutions. The Midterm Exam was given in class on Wednesday, October 17, 2012.

5. (a) What is secondary storage? How does it differ from a primary storage? (b) Explain the functions of (i) cache memory (ii) Register

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions)

Master of Computer Application (MCA) Semester 4 MC0076 Management and Information Systems 4 Credits

GUJARAT TECHNOLOGICAL UNIVERSITY

Core Java - SCJP. Q2Technologies, Rajajinagar. Course content


VALLIAMMAI ENGINEERING COLLEGE

ADIKAVI NANNAYA UNIVERSITY:: RAJAMAHENDRAVARAM II BTech (CSE) I Semester BTCSE301 DIGITAL LOGIC DESIGN MODEL QUESTION PAPER

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

EXPERIMENT NO : M/C Lenovo Think center M700 Ci3,6100,6th Gen. H81, 4GB RAM,500GB HDD

M.C.A. DEGREE EXAMINATION, MAY First Year. Paper I INFORMATION TECHNOLOGY. SECTION A (3 15 = 45 marks) Answer any THREE of the following.

Total No. of Questions : 18] [Total No. of Pages : 02. M.Sc. DEGREE EXAMINATION, DEC First Year COMPUTER SCIENCE.

This book is licensed under a Creative Commons Attribution 3.0 License

ADMINISTRATIVE MANAGEMENT COLLEGE

Computer Programming C++ (wg) CCOs

Sai Nath University. Assignment For MCA 2nd Sem.

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS)

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

L.J. Institute of Engineering & Technology Semester: VIII (2016)

M.C.A. DEGREE EXAMINATION, DEC First Year. Time : 03 Hours Maximum Marks : 75

LANGUAGE PROCESSORS. Presented By: Prof. S.J. Soni, SPCE Visnagar.

M.Sc. (Previous) DEGREE EXAMINATION, MAY (Examination at the end of First Year) Computer Science. Time : 03 Hours Maximum Marks : 75

Part I Basic Concepts 1

Sorting. Sorting in Arrays. SelectionSort. SelectionSort. Binary search works great, but how do we create a sorted array in the first place?

Exam Duration: 2hrs and 30min Software Design

Objects and Iterators

SARDAR RAJA COLLEGE OF ENGINEERING

Intermediate Mathematics League of Eastern Massachusetts

2. Reachability in garbage collection is just an approximation of garbage.

ASSIGNMENT - 1 M.Sc. DEGREE EXAMINATION, MAY 2019 First Year COMPUTER SCIENCE Data Structures MAXIMUM : 30 MARKS ANSWER ALL QUESTIONS

CSE au Final Exam Sample Solution


R13. II B. Tech I Semester Supplementary Examinations, May/June DATA STRUCTURES (Com. to ECE, CSE, EIE, IT, ECC)

Graphical Interface and Application (I3305) Semester: 1 Academic Year: 2017/2018 Dr Antoun Yaacoub

Transcription:

BE - SEMESTER V MID SEMESTER-I EXAMINATION WINTER 2018 SUBJECT: MICROPROCESS & INTERFACING (2150707) (CE) DATE: 10-08-2018 TIME: 02:00pm to 03:30 pm TOTAL MARKS: 40 Q.1 (a) Write an ALP to add two 16 bit numbers Assume that the answer does not generate [03] carry. (b) What do you understand by the term Addressing Modes? Explain, giving suitable [03] example, all the addressing modes supported by 8085. (c) Explain de multiplexing of buses. Q.2 (a) Design an 8085 microprocessor system such that it should contain 16KByte of EPROM and 4KByte of RAM with starting addresses 0000H and 4000H respectively. Use two 8KByte of EPROMs (2764) and two 2KByte of RAMs (6116) for this system. [06] (b) Draw pin diagram of 8085 & explain functions of any 3 pins. (c) Draw timing diagram of INR M with each machine cycle. Q.2 (a) Write a detailed note on Memory Classification. [06] (b) Draw architectural block diagram of 8085. (c) Draw timing diagram of SUI, 32 H with each machine cycle. Q.3 (a) An array of twenty data bytes is stored on memory locations 2000H onwards. Write [06] an 8085 assembly language program to count the number of zeros, positive numbers and negative numbers and store them on memory locations 3000H, 3001H and 3002H, respectively. (b) Draw and explain programming model of 8085 microprocessor. (c) Write an 8085 program to copy block of five numbers starting from location 2001 H to locations starting from 3001 H. Q.3 (a) Write an 8085 assembly language program to count the number of bytes that are [06] greater than 25 10 and lesser than 65 10 from an array of twenty bytes stored on memory locations 2000H onwards. Store such numbers on memory locations 2100H onwards. (b) Explain I/O writes machine cycle. (c) An array of Ten numbers is stored from memory location 2000 H onwards. Write an 8085 assembly language program to separate out and store the EVEN and ODD numbers on new arrays from 2100 H and 2200 H, respectively.

BE - SEMESTER V MID SEMESTER-I EXAMINATION WINTER 2018 SUBJECT: OBJECT IENTED PROGRAMMING USING JAVA (2150704) (CE/IT) DATE: 11-08-2018 TIME:02:00 pm to 03:30 pm TOTAL MARKS:40 Q.1 (a) Why is Java platform independent? [03] (b) Explain Wrapper classes in java. [03] (c) Explain various steps required for class design. Q.2 (a) Explain features of Java in detail. [06] (b) Explain garbage collection and finalize method in JAVA. (c) Explain following with example: (i)super (ii)final (iii)static (iv)this Q.2 (a) What is visibility modifier? Explain all with example [public, private, [06] protected, default] (b) Differentiate between Compile time polymorphism and Run time polymorphism (c) Write a program to take two float value as command line arguments and display its addition and multiplication. Q.3 (a) What is constructor? What are the rules for creating constructor in java? [06] Explain constructor overloading using example. (b) Explain activity diagram with the help of an example. (c) Compare String and StringBuffer Q.3 (a) Describe Inheritance and its type with suitable example. [06] (b) Explain sequence diagram with the help of book issue process of library. (c) Write a program to find whether the given string is palindrome or not.

BE - SEMESTER V MID SEMESTER-I EXAMINATION WINTER 2018 SUBJECT: SYSTEM PROGRAMMING (2150708) (CE/IT) DATE: 09-08-2018 TIME: 02:00 pm to 03:30 pm TOTAL MARKS: 40 Q.1 (a) Define Following terms: [03] 1. Language Processor 2. Semantic Gap 3. Forward Reference (b) How constant differs from literal in assembly language? [03] (c) Consider the grammar: S->AA A->aA A->b Parse the string: abaab and check whether the grammar is ambiguous or not. Q.2 (a) Explain the various stages of the life cycle of a source program with a neat diagram. [06] (b) What is Symbol table? Explain how one can organize Symbol table using Linear Data Structure. (c) Explain types of grammars. Q.2 (a) List various phases of a language processor. Explain roles of phases of language [06] processor. Also explain symbol table. (b) Explain left recursion. Remove left recursion from below grammar and rewrite it. A -> A+B A-B B B -> B*C B/C C C-> (A) id (c) State differences between System Software and Application Software Q.3 (a) Explain use of various data structures (tables) needed in PASS I of the assembler. Also [06] give details of their fields. Explain various suitable data structures for the symbol table. (b) Explain & compare various intermediate code forms (Re- presentations) for an assembler. (c) What is macro-preprocessor? Explain steps of macro-preprocessor design. Q.3 (a) Which are the different assembly language statements? Explain each of them [06] with suitable example. (b) For the given assembly language code: (a) Show the contents of the symbol table at the end of Pass I. (b) Show the intermediate code generated for the program using Variant-1 representation. Instruction Opcode: STOP 00, MOVER 04, MOVEM 05, MULT-03 PRINT 10 Assembler directives: START 01, END 02 EQU -04

Declaration statements: DC 01, DS 02 Register code: BREG 02 START 100 P DS 4 L1 MOVER BREG, Q MULT BREG, S MOVEM BREG, R R EQU P+2 L2 PRINT R IGIN P-5 S DC 9 IGIN L2+1 STOP Q DC 7 END (c) Explain macro expansion in detail.

Enroll. No. BE - SEMESTER V MID SEMESTER-I EXAMINATION WINTER 2018 SUBJECT: ANALYSIS AND DESIGN OF ALGITHMS (2150703) (CE\IT) DATE: 08/08/2018 TIME: 2:00 PM TO 3:30 PM TOTAL MARKS: 40 Q.1 (a) Explain the following terms: 1. Set 2. Relation 3. Function [3] (b) What is an algorithm? Explain various properties of an algorithm. [3] (c) What do you mean by linear inequalities and linear equation? [4] Q.2 (a) Explain all the asymptotic notations in detail. (b) Write an algorithm for merge sort with divide and conquer strategy. Sort the following data: 4,8,6,3,5,1,7,2,9. (c) Sort the following data with Max Heap Sort: 98,74, 32, 151, 27, 85, 66, 123, 13, 57. [4] Q.2 (a) What is an amortized analysis? Explain aggregate method of amortized analysis using simple example. (b) Write an algorithm for quick sort with divide and conquer strategy. Sort the following data: 4,8,6,3,5,1,7,2,9 (c) Sort the following data with Radix Sort: 98,74, 32, 151, 27, 85, 66, 123, 13, 57. [4] Q.3 (a) i) Solve recurrence equation T (n) =T (n-1) + n using forward substitution method. ii) Solve recurrence equation T(n)= 9T(n/3) + n using Master Theorem. (b) What is principle of optimality? Compute Binomial Co-efficient for C(6,4) using dynamic Programming. (c) Explain Selection Sort Algorithm and drive its best case, worst case and average case Complexity. Q.3 (a) i) Solve recurrence equation T (n) =T (n-1) + n using backward substitution method. ii) Solve recurrence equation T(n) = 2T(n/3)+1 using Master Theorem. (b) i) Write down difference between Divide and conquer & Dynamic Programming. ii) Write the algorithm of Binary Search. (c) Explain Insertion Sort Algorithm and drive its best case, worst case and average case Complexity. [4] [4]