SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY

Similar documents
SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY ADITYA SILVER OAK INSTITUTE OF 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

Information and Network Security

KRISTU JYOTI COLLEGE OF MANAGEMENT & TECHNOLOGY QUESTION BANK BCA SEMESTER III Computer graphics Part A (2 marks questions)

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

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

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

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)

(a) rotating 45 0 about the origin and then translating in the direction of vector I by 4 units and (b) translating and then rotation.

BCA (Part II) EXAMINATION 2008 C++ PROGRAMMING Max Time : 3 Hours Max. Marks : 50

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK


About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Computer Graphics

R. C. TECHNICAL INSTITUTE, SOLA

B.Sc. (Part II) (Information Technology) EXAMINATION, 2009

CS602 MCQ,s for midterm paper with reference solved by Shahid

OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS

UNIT -8 IMPLEMENTATION

Roll No. : Invigilator's Signature :.. GRAPHICS AND MULTIMEDIA. Time Allotted : 3 Hours Full Marks : 70

AP Computer Science A Course Syllabus

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

CS 445: Data Structures Final Examination: Study Guide

BCA (Part II) EXAMINATION, 2009 C++ PROGRAMMING Time allowed: Three Hours Maximum Marks: 50 Attempt any five questions

5. Give any three parts of the structure of business letter.

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

B.Sc. Final B.SC. PART-III PAPER I COMPUTER ORGANIZATION II

CS452/552; EE465/505. Clipping & Scan Conversion

Question Paper Code : 97044

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

End-Term Examination

Punjab Technical University Bachelor in Mobile Computing & Internet Batch 2014 onwards THIRD SEMESTER

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER APPLICATIONS COURSE PLAN

FROM VERTICES TO FRAGMENTS. Lecture 5 Comp3080 Computer Graphics HKBU

Cs602-computer graphics MCQS MIDTERM EXAMINATION SOLVED BY ~ LIBRIANSMINE ~

Short Notes of CS201

CS201 - Introduction to Programming Glossary By

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

Course Title: Computer Graphics Course no: CSC209

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

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

Overview. Pipeline implementation I. Overview. Required Tasks. Preliminaries Clipping. Hidden Surface removal

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

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

Part 3: 2D Transformation

Department of Computer Applications. MCA 312: Design and Analysis of Algorithms. [Part I : Medium Answer Type Questions] UNIT I

TECNIA INSTITUTE OF ADVANCED STUDIES

Roll No. :... Invigilator's Signature : GRAPHICS AND MULTIMEDIA. Time Allotted : 3 Hours Full Marks : 70

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

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.

QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION

COURSE DELIVERY PLAN - THEORY Page 1 of 6

GUJARAT TECHNOLOGICAL UNIVERSITY

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

VALLIAMMAI ENGINEERING COLLEGE

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

Realtime 3D Computer Graphics Virtual Reality

ASSIGNMENT - 1 M.C.A.DEGREE EXAMINATION, MAY 2019 Second Year SOFTWARE ENGINEERING. Maximum : 30 MARKS Answer ALL questions.

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

SE Mock Online Test 1-CG

COMP30019 Graphics and Interaction Scan Converting Polygons and Lines

COMPUTER GRAPHICS, MULTIMEDIA AND ANIMATION, Second Edition (with CD-ROM) Malay K. Pakhira

B.Sc. (Part II) (Information Technology) EXAMINATION, 2008

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

ADMINISTRATIVE MANAGEMENT COLLEGE

Code No: R Set No. 1

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

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

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

Lesson Plan. Name of Faculty: Sana Bharti. Discipline: MCA. Semester: 4 th. Subject: Data Mining and Warehousing (MCA-16-43)

LECTURE NOTES ON COMPILER DESIGN P a g e 2

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

PSD1C SYSTEM SOFTWAE UNIT: I - V PSD1C SYSTEM SOFTWARE

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

From 3D World to 2D Screen. Hendrik Speleers

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

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

CS184 : Foundations of Computer Graphics Professor David Forsyth Final Examination (Total: 100 marks)

CHAPTER 1 Graphics Systems and Models 3

Renderer Implementation: Basics and Clipping. Overview. Preliminaries. David Carr Virtual Environments, Fundamentals Spring 2005

Institutionen för systemteknik

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

Divide and Conquer 4-0

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / EVEN SEMESTER

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

Object Orientated Analysis and Design. Benjamin Kenwright

This page intentionally left blank

UNIT I. Pune Vidyarthi Griha s COLLEGE OF ENGINEERING, NASHIK-4. 1

SARDAR RAJA COLLEGE OF ENGINEERING

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

Topics. From vertices to fragments

2) Explain in detail about different AVL rotation applied on unbalanced trees.

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

Midterm solutions. n f 3 (n) = 3

Introduction to Programming Using Java (98-388)

We can use a max-heap to sort data.

(DMCA201) ASSIGNMENT 1 M.C.A. DEGREE EXAMINATION, MAY 2018 Second Year SOFTWARE ENGINEERING. Maximum Marks 30 Answer all questions

Transcription:

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY BE - SEMESTER V MID SEMESTER-I EXAMINATION WINTER 2018 Enroll. No. 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. [6] (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. [5] [4] Q.2 (a) What is an amortized analysis? Explain aggregate method of amortized analysis [6] using simple example. (b) Write an algorithm for quick sort with divide and conquer strategy. [5] 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 [6] 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 [5] dynamic programming. (c) Explain Selection Sort Algorithm and drive its best case, worst case and [4] average case complexity. Q.3 (a) i) Solve recurrence equation T (n) =T (n-1) + n using backward substitution [6] 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. [5]

(c) ii) Write the algorithm of Binary Search. Explain Insertion Sort Algorithm and drive its best case, worst case and average case complexity. [4]

Enroll. No. SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY ADITYA SILVER OAK INSTITUTE OF TECHNOLOGY 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. (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 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 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 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. SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY ADITYA SILVER OAK INSTITUTE OF TECHNOLOGY BE SEMESTER V MID SEMESTER-I EXAMINATION WINTER 2018 SUBJECT: COMPUTER GRAPHICS (2151603) (IT) DATE: 10-08-2018 TIME: 02:00 to 03:30 pm TOTAL MARKS:40 Q.1 (a) Write the differences between Random Scan display and Raster scan display. (b) Define the following terms for 2D: [03] [03] 4. Translation 5. Rotation 6. Scaling (c) Explain the working of Cathode Ray tube. Q.2 (a) Input coordinates A (20,10) B(30,18) are given solve using Bresenham s algorithm. (b) Explain three methods of character generation. (c) Explain boundary fill algorithm for 4 connected pixels. Q.2 (a) Explain DDA line drawing algorithm. What are the limitations of DDA line drawing algorithm? (b) Explain inside outside test. (c) Write a short note on: Reflection. Q.3 (a) Explain cohen Sutherland subdivision line clipping algorithm. (b) Apply the shearing transformation to square with A(0,0) B(1,0) C(1,1) And D(0,1) as given below A) Shear parameter value of 0.5 relative to the line Yref= 1. B) Shear parameter value of 0.5 relative to the line Xref= 1. (c) Explain shadow mask technique and explain how does it differ from beam penetration technique? Q.3 (a) Explain and write Liang Bersky line clipping algorithm (b) Explain viewing pipeline in 2D. (c) How long would it take to load a 1280 by 1024 frame buffer with 12 bits per pixel if transfer rate is 1 Mbps?

Enroll. No. SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY ADITYA SILVER OAK INSTITUTE OF TECHNOLOGY 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. (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, 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? 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. (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.