×
If you can dream it, you can do it.
--Your friends at LectureNotes
Close

Previous Year Exam Questions of System Programming of BPUT - SP by Verified Writer

  • System Programming - SP
  • 2017
  • PYQ
  • Biju Patnaik University of Technology Rourkela Odisha - BPUT
  • Computer Science Engineering
  • B.Tech
  • 23142 Views
  • 387 Offline Downloads
  • Uploaded 1 year ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

Registration No: Total Number of Pages: 02 B.Tech. PCS3I103 3rd Semester Regular / Back Examination 2017-18 SYSTEM PROGRAMMING BRANCH: CSE Time: 3 Hours Max Marks: 100 Q.CODE: B986 Answer Question No.1 and 2 which are compulsory and any four from the rest. The figures in the right hand margin indicate marks. Q1 a) b) c) d) e) f) g) h) i) j) Q2 a) b) c) d) e) f) g) h) i) j) Answer the following questions: Of the four different programs that UNIX invokes to prepare a C program for execution, namely the linker, assembler, compiler, and loader, which actually builds an executable file such as a.out (a) Linker (b) Assembler (c) Loader (d) Compiler (e) None of the above Timer interrupt is a _________. (a) Hardware Interrupt (b) Software Interrupt (c) Both of these (d) None of These Only ________ ports are important from programming point of view. (a)70 and 71H (b) 71 and 72H (c)70 and 72H (d)72 and 73H In a two pass assembler the object code generation is done during which phase? (a) zeroth pass (b) One pass (c) Two pass (d) Not done by assembler. Forward Reference Table (FRT) is arranged like? (a)stack (b)Queue (c)Linked List (d )Doubly Linked list Which of the following is not a function of pass1 of an assembler? (a)generate data (b) keep track of LC (c)remember literals (d)remember values of symbols until pass2 The last statement of the source program should be (a) Stop (b) Return (c) Op (d) End Address symbol table is generated by the (a) Memory management software (b) Assembler (c) Match logic of associative memory (d) Generated by operating system. Analysis which determines the meaning of a statement once its grammatical structure becomes known is termed as (a) Semantic analysis (b) Syntax analysis (c) Regular analysis (d) General analysis A linker program (a) Places the program in the memory for the purpose of execution. (b) relocates the program to execute from the specific memory area allocated to it. (c) Links the program with other programs needed for its execution. (d) Interfaces the program with the entities generating its input data. (2 x 10) Answer the following questions: Short answer type Mention any four features of System Programming. What do you mean by Assembler? How it is different from Loaders? Differentiate between compiler and interpreter. What is a dummy argument in macro? Explain with example. Differentiate between systems software and application software . What is an absolute loader? What are the disadvantages of absolute loader? With suitable example explain linkage editor. What is a formal system? Define a formal system mathematically. Give user interface criteria for a debugger. Define the data structure of MDT and MNT tables. (2 x 10)

Text from page-2

Q3 a) b) List and explain the main components of a typical microprocessor. Explain the following. I) SYMTAB II) LOCCTR III)OPTAB IV) LITTAB V)CSADDR (10) (5) Q4 a) Describe the overall design of pass1 of an assembler with the description of the data structures used in it. Differentiate it from pass 2 compiler. Explain dynamic linking and loading. (10) Describe the design of a relocating loader. What are the advantages of relocating loader over absolute loader? What is BNF? Show the BNF specification for an arithmetic expression X=U+V×W-X/Y (10) Write a simple SCI/ XE program that gets two integers NUM1 and NUM2 from memory. Compare the two integers and adds them up, if NUM1 is greater than NUM2 or subtracts NUM1 from NUM2 if NUM1 is less than NUM2. Store the answer in memory at memory location result. What do you mean by High Level Language? Briefly explain its features and advantages over Lower Level Language. (10) b) Q5 a) b) Q6 a) b) (5) (5) (5) Q7 a) b) Explain debugger functionalities and facilities. Programming Environment vs Integrated Development Environments (10) (5) Q8 a) Draw a parse tree according to Pascal grammar for the following expressions. i)ALPHA –BETA *GAMMA ii) ALPHA DIV(BETTA+GAMMA)-DELTA With suitable examples classify grammars. (10) Write short notes on i) General Machine structures ii)Functional Modularity iii) Absolute expression vs Relative expression iv)Lexical Analysis vs Syntactic Analysis Explain Bootstrap loader. (10) b) Q9 a) b) (5) (5)

Lecture Notes