Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Pro Blog
  • Users
  • Groups
  • Unsolved
  • Solved
Collapse
Secnto AI
  1. Secnto AI
  2. Categories
  3. Virtual University
  4. CS609 - System Programming
  5. CS609 Final Term Solved MCQ's & Quiz With Refernace Moaaz
CS609 Assignment No. 1 Solution and Discussion
zaasmiZ
Re: CS609 Assignment No. 1 Solution and Discussion Please share CS609 Assignment 1 Fall 2020
CS609 - System Programming
CS609 Assignment 2 Solution and Discussion
zaasmiZ
Re: CS609 Assignment 2 Solution and Discussion Semester: Spring 2020 CS609: System Programming Graded Assignment No. 02 Total Marks: 20 Due Date: June 11, 2020 Instructions: Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The submitted assignment does not open or file is corrupt.  You have not followed steps described in Detailed Instructions of the problem statement.  Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard. Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. Objectives: The objective of this assignment is to provide hands-on experience of System Programming concepts including: • How can interrupts be generated • What are Interrupts • Interrupt functions writing • BIOS data area. • TSR program • Calling interrupt function For any assignment related query, contact at CS609@vu.edu.pk Problem Statement: Q: Write down a program in C which will display any long string on the screen and after passing 5 seconds, if no key is pressed then the string should be changed by replacing all character of ‘y’ on the screen (video text memory) by ‘z’. For example: String on Screen is : “Hey young man, you have a lovely watch”. It should be changed to “Hez zoung man, zou have a lovelz watch”. [Hint: Video text memory area starts from location B800:0000. You have to traverse whole text memory area by using for loop, and then use simple if statements, to replace y with z. Instructions: You should include all related header files first of all then declare string array to store string to be displayed and declare interrupt pointer to hold old interrupt i.e char str1[80]={“ “Hey young man, you have a lovely watch”$”} void interrupt (*old)(void); Similarly, give prototype for new functions of i.e void interrupt newfunc(); Declare a far pointer i.e *scr to hold far address =0xB8000000 Store current vector values of INT 8 through getvect in old(). Set newFunc() fuctions through setvect. In newFunc() function, give logic to wait for 5 seconds i.e t>=90 Replace y character to z i.e for ( int j = 0; j < 4000; j += 2) { if(*(scr + j) == 0x79’) // small y ASCII code. *(scr + j) = 0x7A;// small z ASCII code. Sample Code: #include <stdio.h> #include <BIOS.H> #include <DOS.H> int t=0; char str1[…..Hey young boy you have a lovely watch$”}; void interrupt (*old)(void); char far *……..)0xb8000000; // code to access video text memory area void interrupt newFunc(); void main( ) { clrscr(); // Display string on screen by calling int21h. old=getvect(…….); setvect(0x08,newFunction); } void interrupt newFunction( ) { If (t>=90 ) // write for loop here // write body of for loop} //if part ….. (*old)(); } Note: Your assignment file should be a single Word file (.doc or .docx).
CS609 - System Programming
CS609 Assignment No. 1 Solution and Discussion
zaasmiZ
Semester: Spring 2020 CS609: System Programming Graded Assignment No. 01 Total Marks: 20 Due Date: May 27, 2020 Instructions: Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The submitted assignment does not open or file is corrupt.  You have not followed steps described in Detailed Instructions of the problem statement.  Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard. Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. Objectives: The objective of this assignment is to provide hands-on experience of System Programming concepts including: • Basic interrupts • Invoking interrupts • Register Values For any assignment related query, contact at CS609@vu.edu.pk Problem Statement: Q: Write C program to switch on any one of the toggle button i.e Caps Lock, Scroll Lock and Num Lock by taking any one input i.e 1,2 and 3 respectively. Using Switch Case Statement, switch on the appropriate toggle button and show message for that button. For example if the user enter 3 then Num Lock should be on and message should be displayed “Num Lock is On” Store all the following 5 lines of strings in 5 array st1,st2,st3, st4, st5 and through interrupt 65H print proper message i.e Which toggle button you want to switch on: Press 1 for Caps Lock Press 2 for Scroll Lock Press 3 for Num Lock Press Key(1/2/3): Instructions: Include all header files and declare 5 string arrays for messages. You should save interrupt 65H vector in a pointer to vector variable name oldint65 through getvect instruction. Call any new function i.e newint65( ) through setvect instruction. Then use scanf to take input in an integer variable i.e scanf(“%d”, &i) Place service number in AH register. Interrupt 65H will check its value and will perform relevant function. Interrupt 65H function must check for Service Number using Switch Statement. Use keep() function to make this program TSR. Note: Your assignment solution will be in this Word file (.doc or .docx)containing code of C Best of Luck! Solution:
CS609 - System Programming
CS609 GDB 1 Solution and Discussion
zareenZ
Total Marks 5 Starting Date Monday, January 27, 2020 Closing Date Tuesday, January 28, 2020 Status Open Question Title File Organization Question Description GDB CS609_Fall 2019 Defragmentation for file organization is time consuming job and system looks halted to some extent during this process. Do you think that overall performance of the system will be degraded ultimately? Put your comments in 3 to 5 lines in either case (Yes/No). Font: Times New Roman Size: 11
CS609 - System Programming
CS609 Assignment 2 Solution and Discussion
zareenZ
Semester: Fall 2019 CS609: System Programming Graded Assignment No. 02 Total Marks: 20 Due Date: Dec 02, 2019 Instructions: Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The submitted assignment does not open or file is corrupt.  You have not followed steps described in Detailed Instructions of the problem statement.  Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard. Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. Objectives: The objective of this assignment is to provide hands-on experience of System Programming concepts including: • How can interrupts be generated • What are Interrupts • Interrupt functions writing • TSR program • Calling interrupt functions For any assignment related query, contact at cs609@vu.edu.pk Problem Statement: You are required to write C program which will display one ‘*’ character on the screen on each CPU timer interrupt 8 in a way that each * character is displayed after the previous *. i.e On elapse of 7 seconds then the screen characters should be removed and again the * character should be started printing on the screen in similar way i.e ********* This process should be continued again and again until you press any key from the keyboard. Instructions: You should include all related header files first of all then declare interrupt pointer to hold Timer i.e void interrupt (*oldTimer)(void); Similarly, give prototype for new functions of newtimer() i.e void interrupt newTimer(); Declare a far pointer i.e *scr to hold far address =0xB8000000; Store current vector values of INT 8 through getvect in oldTimer. Set newTimer fuctions through setvect. In newTimer() function, give logic to print ‘*’ on the screen i.e *(scr+i)=0x2A; Write code to wait for 7 seconds i.e t>=126 and through loop write blank spaces on the screen by setting keyboard status with black background i.e no character on screen i.e *(scr+i)=ox20; *(scr+i+1)=ox07; When any key is pressed from the keyboard, the program should stop. Note: Your assignment should Word file (.doc or .docx) containing your code. Best of Luck!
CS609 - System Programming
CS609 Assignment 3 Solution and Discussion
zareenZ
Semester: Fall 2019 CS609: System Programming Graded Assignment No. 03 Total Marks: 20 Due Date: Jan 09, 2020 Instructions: Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The submitted assignment does not open or file is corrupt.  You have not followed steps described in Detailed Instructions of the problem statement.  Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard. Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. Objectives: The objective of this assignment is to provide hands-on experience of System Programming concepts including: • Typematic Rate • Keyboard typing delay For any assignment related query, contact at CS609@vu.edu.pk Problem Statement: Q: Write a C program that will change the typematic rate of keyboard with delay of 1/4 second and typematic rate of 3 characters per second by using the following information. [image: AOBdUrh.png] Solution: Best of Luck!
CS609 - System Programming
CS609 Assignment No. 1 Solution and Discussion
zareenZ
Semester: Fall 2019 CS609: System Programming Graded Assignment No. 01 Total Marks: 20 Due Date: Nov 11, 2019 Instructions: Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The submitted assignment does not open or file is corrupt.  You have not followed steps described in Detailed Instructions of the problem statement.  Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard. Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. Objectives: The objective of this assignment is to provide hands-on experience of System Programming concepts including: • How can interrupts be generated • What are Interrupts • Interrupt functions writing • BIOS data area. • TSR program • Calling interrupt functions For any assignment related query, contact at Problem Statement: You are required to write a C program using interrupt 21H to print 3 string arrays i.e “Virtual University of Pakistan”, your own Student Name and father name. Your program should intercept the timer interrupt to call a function name “ScrollLock” to switch on the ScrollLock on the keyboard when the timer interrupt 8h occurs. Instructions: Declare 3 character strings st1,st2,st3 having Values, Virtual University of Pakistan, your own Student Name and Father Name respectively. In this program, you will implement interrupt 21H to print the character string values on the top. Place service number 0x09 in AH register and String in DX to print strings. You should save interrupt 8H vector in a pointer to vector variable name old through getvect() instruction. Call any new function called i.e ScrollLock( ) through setvect instruction. Use keep() function to make this program TSR. Note: Your assignment file should be a single Word file (.doc or .docx)
CS609 - System Programming
CS609 Quiz No.2 Solution and Discussion
zaasmiZ
Please post your current Quiz and Help the Students. Quiz No.2 Total Questions : 10 Please read the following instructions carefully! Quiz will be based upon Multiple Choice Questions (MCQs). You have to attempt the quiz online. You can start attempting the quiz any time within given date(s) of a particular subject by clicking the link for Quiz in VULMS. Each question has a fixed time of 90 seconds. So you have to save your answer before 90 seconds. But due to unstable internet speeds, it is recommended that you should save your answer within 60 seconds. While attempting a question, keep an eye on the remaining time. Attempting quiz is unidirectional. Once you move forward to the next question, you can not go back to the previous one. Therefore before moving to the next question, make sure that you have selected the best option. DO NOT press Back Button / Backspace Button while attempting a question, otherwise you will lose that question. DO NOT refresh the page unnecessarily, specially when following messages appear Saving… Question Timeout: Now loading next question… Javascript MUST be enabled in your browser; otherwise you will not be able to attempt the quiz. If for any reason, you lose access to internet (like power failure or disconnection of internet), you will be able to attempt the quiz again from the question next to the last shown question. But remember that you have to complete the quiz before expiry of the deadline. If any student failed to attempt the quiz in given time then no re-take or offline quiz will be held. Start Quiz
CS609 - System Programming
CS609 Final Term Solved MCQ's & Quiz With Refernace Moaaz
zaasmiZ
CS609 quiz solved.doc
CS609 - System Programming
CS609 GDB1 Solution and discussion
zaasmiZ
Question: By increasing the surface area of hard disk there is an increase of data storage. Do you think whether there is any negative impact of increasing surface area as well? Put your comments in 3 to 5 lines in either case (Yes/No). Font: Times New Roman Size: 11
CS609 - System Programming
CS609 GDB.1 Solution and Discussion
zaasmiZ
GDB CS609_Spring 2019 Dear Students, A Graded Discussion has been updated for your course CS101. Topic: By increasing the surface area of hard disk there is an increase of data storage. Do you think whether any negative impact of increasing surface area as well? Put your comments in 3 to 5 lines in either case (Yes/No). Font: Times New Roman Size: 11 Please visit your GDB interface in your LMS to put your comments on the dates 06 August 2019 and 07 August 2019 only.
CS609 - System Programming
CS609 Assignment No. 03 Solution and Discussion
zaasmiZ
Topic thumbnail image
CS609 - System Programming
The memory addresses of COM ports remain same for all computers
cyberianC
True Fasle
CS609 - System Programming
PPI / MPI - What are the real differences?
zaasmiZ
Please explain?
CS609 - System Programming
CS609 Mid Term Past Paper By @Moaaz
zaasmiZ
CS609 - Midterm Solved subjective with references by Moaaz.pdf CS609 - Midterm Solved Mcqs with references by Moaaz.pdf
CS609 - System Programming
CS609: System Programming Graded Assignment No. 02 Solution and Discussion
zaasmiZ
Topic thumbnail image
CS609 - System Programming
CS609 Handouts
zaasmiZ
Download
CS609 - System Programming
CS609 Quiz #1 Solution and Discussion
zaasmiZ
Topic thumbnail image
CS609 - System Programming
CS609: System Programming Graded Assignment No. 01 Solution and Discussion
zaasmiZ
![0_1557822319583_5fab6ed2-204d-438f-92b4-530de1925001-image.png](Uploading 100%) Semester: Spring 2019 CS609: System Programming Graded Assignment No. 01 Total Marks: 20 Due Date: May 13, 2019 Instructions: Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if: ♣ The assignment is submitted after due date. ♣ The submitted assignment does not open or file is corrupt. ♣ You have not followed steps described in Detailed Instructions of the problem statement. ♣ Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard. Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. Objectives: The objective of this assignment is to provide hands-on experience of System Programming concepts including: • How can interrupts be generated • What are Interrupts • Interrupt functions writing • TSR program • Calling interrupt functions For any assignment related query, contact at CS609@vu.edu.pk Problem Statement: You are required to writ C program using interrupt 65H to print your own Student ID, Name or your Study Program depending upon the number input i.e 1,2,3 respectively. When the user enters 1 it will print your own Student ID, if 2 then print your own Name and finally, if the user enters 3, it will print your Study Program. Instructions: Declare 3 character strings st1,st2,st3 having Student ID, Name and Study Program You should save interrupt 65H vector in a pointer to vector variable name oldint65 through getvect instruction. Call any new function i.e newint65( ) through setvect instruction. Through printf instruction, show message “What you want to print: Press 1,2,3= ” i.e printf(“What you want to print: Press 1,2,3= ”); Then use scanf to take input input in an integer variable i.e scanf(“%d”, &i) In this program, you will implement interrupt 65H which is currently not used by operating system. Place service number in AH register. Interrupt 65H will check its value and will perform relevant function. Interrupt 65H function must check for Service Number using Switch Statement. In Case of Service Number 1, it should print Student ID i.e BC123456 and in case of Service Number is 2, it should print your own full name i.e Ali Ahmad. Similarly your study program i.e BS/MCS etc should be printed in case of number 3. Use keep() function to make this program TSR. Note: Your assignment solution will be in this Word file (.doc or .docx) containing code of C only as given in sample solution: Best of Luck! Sample Solution: //Header Files #include<stdio.H> #include<BIOS.H> #include<DOS.H> #include<conio.H> void interrupt (*oldint 65)(); //To store current interrupt char str1[80]={“BC123456$”} // Write your own particulars char str2[80]={“Ali Ahmad$”} char str3[80]={“Degree Program: BS$”} int i; void interrupt newint65(void); //NewInt prototype void main() { // Keep vector of current INT //setting to newint65 clrscr(); printf(“What you want to print: Press 1,2,3=>”); scanf(“%d”,&i); _AH=i; getch(); } void interrupt newint65() { switch(i) { case 1: //Service Number // Register for output. break; } case 2: break; } case 3: break; } default: { } }
CS609 - System Programming

CS609 Final Term Solved MCQ's & Quiz With Refernace Moaaz

Scheduled Pinned Locked Moved CS609 - System Programming
cs609moaazmcqs & quizfinal term
3 Posts 2 Posters 5.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • zaasmiZ Offline
    zaasmiZ Offline
    zaasmi
    Cyberian's Gold
    wrote on last edited by zareen
    #1

    CS609 quiz solved.doc

    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
    [NOTE: Don't copy or replicating idea solutions.]
    VU Handouts
    Quiz Copy Solution
    Mid and Final Past Papers
    Live Chat

    1 Reply Last reply
    0
    • zaasmiZ Offline
      zaasmiZ Offline
      zaasmi
      Cyberian's Gold
      wrote on last edited by
      #2

      CS609- System Programming Solved MCQS From Final term Papers
      FINALTERM EXAMINATION Spring 2012 CS609- System Programming

      Question No: 1 ( Marks: 1 ) - Please choose one
      Bit # ___________ of Eflag is used for alignment check
      ►12
      ►14
      ►15
      ►18 (page 164)
      Question No: 2 ( Marks: 1 ) - Please choose one
      Each addressable unit has a unique combination of sec#, head #, track # as its --------- address.
      ►Physical (page 202)
      ►Logical
      ►Both
      ►None
      Question No: 3 ( Marks: 1 ) - Please choose one
      First cluster in user data is numbered in a FAT based system.
      ►0
      ►1
      ►2 (page 258)
      ►3

      2
      Question No: 4 ( Marks: 1 ) - Please choose one
      BIOS services understand --------.
      ►LBA (page 212)
      ►LSN
      ►Cluster #
      ►None
      Question No: 5 ( Marks: 1 ) - Please choose one
      The first cluster number of a file can be found in---------
      ►BPB
      ►DPB
      ►FCB(page 265)
      ►None
      Question No: 6 ( Marks: 1 ) - Please choose one
      The size of FS Info block is
      ►64byte
      ►128 byte
      ►256 byte
      ►512 byte(page 300)
      Question No: 7 ( Marks: 1 ) - Please choose one
      In NTFS first -------- entries are reserved.
      ►4
      ►6
      ►16 (page 303)
      ►32
      Question No: 8 ( Marks: 1 ) - Please choose one
      In memory map of first 1 MB of ram ,the first -------- is called conventional RAM.
      ►64kb
      ►384kb
      ►640kb (page 317)
      ►None

      3
      Question No: 9 ( Marks: 1 ) - Please choose one
      In memory map of first 1 MB of ram ,the higher -------- is called system memory.
      ►64kb
      ►384kb (page 317)
      ►640kb
      ►None
      Question No: 10 ( Marks: 1 ) - Please choose one
      The -------- of boot block constitutes of BPB.
      ►Code part
      ►Data part (page 242)
      ►Both
      ►None
      Question No: 11 ( Marks: 1 ) - Please choose one
      Extended BIOS function make use of --------- address
      ►LBA (Page 212)
      ►CHS
      ►LSN
      ►None
      Question No: 12 ( Marks: 1 ) - Please choose one
      LBA address can be used in place of the CHS address.
      ►True (Page 235)
      ►False
      Question No: 13 ( Marks: 1 ) - Please choose one
      In FAT12, the maximum range of clusters is ………
      ►0 ~ FEFH
      ►1~ FEFH
      ►2 ~ FEFH (Page 266)
      ►3 ~ FEFH
      Question : 14 ( Marks: 1 ) - Please choose one
      NTFS volume can be accessed directly in DOS.
      ►True
      ►False (Page 310)
      4
      Question No: 15 ( Marks: 1 ) - Please choose one
      Each partition information chunk is 16 bytes long and the last two bytes at the end of the partition table data
      part is the partition table signature whose value should be _______ indicating that the code part contains valid
      executable code.
      ►00AA
      ►0055
      ►050A
      ►AA55 (Page 219)
      Question No: 16 ( Marks: 1 ) - Please choose one
      Service 21H/52H service returns the address of DOS internal data structures in ES: BX ________behind the
      address returned lies the far address of the first MCB in memory.
      ►2-bytes
      ►4-bytes (Page 322)
      ►6-bytes
      ►8-bytes
      Question No: 17 ( Marks: 1 ) - Please choose one
      80386 can have ___________ control registers.
      ►2
      ►5
      ►3
      ►4 (Page 331)
      Question No: 18 ( Marks: 1 ) - Please choose one
      The partition table uses the extended _________ service.
      ►13H (p234)
      ►14H
      ►15H
      ►16H
      Question No: 19 ( Marks: 1 ) - Please choose one
      The entry point of execution in EXE File can be
      ►Start of the first instruction
      ►Start of the last instruction
      ►Anywhere in the Program (Page 335)
      ►Can be in the middle of the program

      5
      Question : 20 ( Marks: 1 ) - Please choose one
      Using the____ entry and the FAT we can access the contents of file.
      ►Reserved blocks
      ►Root Directory (Page 269)
      ►Number of FAT copies
      ►None of the given
      Question : 21 ( Marks: 1 ) - Please choose one
      Control information in files is maintained using
      ►BPB
      ►DPB
      ►FCB (Page 256)
      ►FPB
      Question : 22 ( Marks: 1 ) - Please choose one
      What will happen if NTFS volume is accessed in DOS?
      ►Convert it to FAT volume
      ►Nothing will happen
      ►Error of invalid media (Page 310)
      ►None of the given
      Question : 23 ( Marks: 1 ) - Please choose one
      LSN of FS Info block is available at
      ►BPB
      ►FAT
      ►Root Directory
      ►None of the given
      Question : 24 ( Marks: 1 ) - Please choose one
      DOS device drivers do not understand the_____ data structures.
      ►FAT12
      ►FAT16
      ►FAT32
      ►NTFS (Page 310)
      6
      Question : 25 ( Marks: 1 ) - Please choose one
      ________ is a collection of contagious blocks.
      ►Cluster (Page 242)
      ►Sector
      ►Byte
      ►None of Given
      Question No: 26 ( Marks: 1 ) - Please choose one
      _________ used to determine the amount of conventional memory interfaced with the processor in kilobytes.
      ►INT 10 H
      ►INT 11 H
      ►INT 12 H (Page 162)
      ►INT 13 H
      Question No: 27 ( Marks: 1 ) - Please choose one
      Bit number _______ of coprocessor control word is the Interrupt Enable Flag.
      ►7 (Page 168)
      ►8
      ►9
      ►10
      Question No: 28 ( Marks: 1 ) - Please choose one
      To distinguish 486 with Pentium CPUID Test is used.
      ►True (Page 166)
      ►False
      Question : 29 ( Marks: 1 ) - Please choose one
      Practically __________ entries are there in FAT 32.
      ►2^26
      ►2^28
      ►2^30
      ►2^32 (Page 265)
      Question No: 30 ( Marks: 1 ) - Please choose one
      BPB stands for _________.
      ►BIOS parameter block (Page 243)
      ►BIOS processing block
      ►Base processing block
      ►BIOS partition block
      7
      Question No: 31 ( Marks: 1 ) - Please choose one
      The keyboard input character scan code is received at ___ port.
      ►60H (Page 179)
      ►61H
      ►62H
      ►63H
      Question No: 32 ( Marks: 1 ) - Please choose one
      _______ is LED control byte.
      ►0xFD
      ►0xED (Page 181)
      ►0xFF
      ►0xEE
      Question : 33 ( Marks: 1 ) - Please choose one
      ________means typematic rate will be sent in next byte.
      ►0xF3 (Page 180)
      ►0xF4
      ►0xF5
      ►0xF6
      Question : 34 ( Marks: 1 ) - Please choose one
      Keyboard uses port ____ as status port.
      ►64H (Page 177)
      ►66H
      ►67H
      ►69H
      Question : 35 ( Marks: 1 ) - Please choose one
      The keyboard can perform _______ serial I/O.
      ►asynchronous
      ►synchronous
      ►Multiple
      ►Single

      8
      Question : 36 ( Marks: 1 ) - Please choose one
      Bit number 2 of port 64H Status register used for output buffer full.
      ►True
      ►False
      Question : 37 ( Marks: 1 ) - Please choose one
      Bit number _____ can declares the parity error of port 64H Status register.
      ►4
      ►5
      ►6
      ►7
      Question : 38 ( Marks: 1 ) - Please choose one
      Bit number _____ of port 64H Status register used for input buffer full.
      ►0
      ►1
      ►2
      ►3

      9
      FINALTERM EXAMINATION
      Spring 2010
      CS609- System Programming
      Question No: 1 ( Marks: 1 ) - Please choose one
      Maximum possible entries in FAT12 are ________.
      ►1024
      ►2048
      ►4096 (Page 264)
      ►65536
      Question No: 2 ( Marks: 1 ) - Please choose one
      Disadvantage of FAT32 is ________.
      ►Large disk size can be managed in FAT32
      ►Cluster size is reduced
      ►Internal fragmentation is reduced
      ►Very large table (Page 299)
      Question No: 3 ( Marks: 1 ) - Please choose one
      What will be the value of the word located at 1Fh in DPB when number of free clusters on drive is not known?
      ►0000H
      ►1111H
      ►FFFFH (Page 250)
      ►None of the given.
      Question No: 4 ( Marks: 1 ) - Please choose one
      Jump code part contains ____ bytes in boot block.
      ►3 (Page 302 )
      ►5
      ►8
      ►11

      10
      Question : 5 ( Marks: 1 ) - Please choose one
      Operating system name contains ____ bytes in boot block.
      ►3
      ►5
      ►8 (Page 257)
      ►11
      Question No: 6 ( Marks: 1 ) - Please choose one
      File can be _______ viewed as organization of data.
      ►Physically
      ►Logically (Page 256)
      ►Both logically and physically
      ►None of the give
      Question No: 7 ( Marks: 1 ) - Please choose one
      _________ is used to read a block against its LSN.
      ►absread() (Page 247)
      ►abswrite()
      ►lsnread()
      ►None of the given
      Question : 8 ( Marks: 1 ) - Please choose one
      File can be______ viewed as collection of clusters or blocks.
      ►Physically (Page 256)
      ►Logically
      ►Both physically and logically
      ►None
      Question No: 9 ( Marks: 1 ) - Please choose one
      When we talk about FAT based file system, in user data area first cluster number is ______.
      ►0
      ►1
      ►2 (Page 258)
      ►None of the given

      11
      Question No: 10 ( Marks: 1 ) - Please choose one
      Cluster number can also be referred as block number.
      ►True
      ►False (Page 258)
      Question : 11 ( Marks: 1 ) - Please choose one
      To access the block within cluster using BIOS services the cluster number should be converted into _____.
      ►CHS
      ►LBA
      ►LSN (Page 258)
      ►None of the given
      Question : 12 ( Marks: 1 ) - Please choose one
      What will be the value of DL register when we are accessing C drive using undocumented service 21H/32H?
      ►0
      ►1
      ►2
      ►3 (Page 249)
      Question No: 13 ( Marks: 1 ) - Please choose one
      The directory structure of DOS is like ________.
      ►Array
      ►Tree (Page 256)
      ►Linked list
      ►None of the given
      Question No: 14 ( Marks: 1 ) - Please choose one
      Control information about files is maintained using ______.
      ►BPB
      ►DPB
      ►FCB (Page 256)
      ►FPB
      Question No: 15 ( Marks: 1 ) - Please choose one
      When LSN is equal to zero (0), it means ________.
      ► First block of the disk
      ► First block of the logical drive (Page 240)
      ►First block of hidden blocks
      ► None of the given
      12
      Question No: 16 ( Marks: 1 ) - Please choose one
      In FAT32, lower _______ bits are used.
      ► 26
      ► 28 (Page 292)
      ►30
      ►32
      Question No: 17 ( Marks: 1 ) - Please choose one
      _______ is relative address with respect to the start of Logical Drive.
      ►LBA
      ►LSN (Page 240)
      ►CHS
      ►None of the given
      Question No: 18 ( Marks: 1 ) - Please choose one
      The practical limit of blocks per cluster is _______.
      ►32 blocks per cluster
      ►64 blocks per cluster (Page 242)
      ►128 blocks per cluster
      ►256 blocks per cluster
      Question No: 19 ( Marks: 1 ) - Please choose one
      In dos we have limit of _______ .
      ►128 blocks per cluster (Page 242)
      ►256 blocks per cluster
      ►32 blocks per cluster
      ►64 blocks per cluster
      Question No: 20 ( Marks: 1 ) - Please choose one
      Highest capacity physical capacity of the disk according to the IDE interface is _________.
      ►127 GB (Page 212)
      ►100 GB
      ►80 GB
      ►300 GB
      Question No: 21 ( Marks: 1 ) - Please choose one
      Partition Table can be read using the extended ____________ Services.
      ►13 H (Page 234)
      ►14 H
      ►15 H
      ►None of given
      13
      Question No: 22 ( Marks: 1 ) - Please choose one
      In Protected Mode, the segment registers are used as _______________
      ►Descriptor
      ►Selector (Page 326)
      ►All of the given choices
      ►None of the given choices
      Question No: 23 ( Marks: 1 ) - Please choose one
      To access drive parameter block we use undocumented service ______
      ►09H/32H
      ►11H/32H
      ►17H/32H
      ►21H/32H (Page 249)
      Question No: 24 ( Marks: 1 ) - Please choose one
      ________ is an absolute address relative to the start of physical drive.
      ►LBA (Page 240)
      ►LSN
      ►CHS
      ►None of the above
      Question No: 25 ( Marks: 1 ) - Please choose one
      Boot block consists of ______ bytes.
      ►64
      ►128
      ►256
      ►512 (Page 242)
      Question No: 26 ( Marks: 1 ) - Please choose one
      The DMA requests to acquire buses through the ________ signal.
      ►HOLD (Page 186)
      ►ACR
      ►ACK
      ►None of Given

      14
      Question No: 27 ( Marks: 1 ) - Please choose one
      The keyboard device writes a code 0xFA on the port 60H to indicate that the _______.
      ►Input buffer is full
      ►Byte has been received properly (Page 179)
      ►Output buffer is full
      ►None of the given
      Question No: 28 ( Marks: 1 ) - Please choose one
      A single DMA can transfer ______ operands to and from memory in a single a bus cycle.
      ►8-bits (Page 186)
      ►16-bits
      ►32-bits
      ►12-bits
      Question No: 29 ( Marks: 1 ) - Please choose one
      In FAT12, to calculate the address or offset from index, we need to multiply it with ___.
      ►1/2
      ►3/2 (Page 267)
      ►5/7
      ►7/2
      Question No: 30 ( Marks: 1 ) - Please choose one
      ________ Register can be used to show that the channel is single transfer, block transfer or demand transfer
      mode.
      ►DMA Command register
      ►DMA Request Register
      ►DMA Mode Register
      ►DMA controller Register (Page 187-188)

      15
      CS609 – Solved Quizzes (Quiz No.3 & 4)
      Question : 1 of 10 ( Marks: 1 ) - Please choose one
      When we mark a file as deleted by placing 0xE5 then the chain of clusters in FAT is also replaced by ______.
      ►E5
      ►1
      ►0 (Page 79)
      ►N
      Question : 2 of 10 ( Marks: 1 ) - Please choose one
      Cluster size is reduced in __________.
      ►FAT12
      ►FAT16
      ►FAT32 Click here for detail
      ►None of the given
      Question : 3 of 10 ( Marks: 1 ) - Please choose one
      In FAT32 __________ root directory entries are there.
      ►128
      ►256
      ►512
      ►None of the given Click here for detail
      Question : 4 of 10 ( Marks: 1 ) - Please choose one
      If a file is having more than one cluster then it will be managed by ______.
      ►FAT
      ►BPB
      ►DPB
      ►None of the above
      Question : 5 of 10 ( Marks: 1 ) - Please choose one
      Internal fragmentation is reduced in _______________.
      ►FAT12
      ►FAT16 Click here for detail
      ►FAT32
      ►None of the given
      16
      Question : 6 of 10 ( Marks: 1 ) - Please choose one
      For supporting long file names, _________ fragments can be supported.
      ►12
      ►20
      ►26
      ►32
      Question : 7 of 10 ( Marks: 1 ) - Please choose one
      To store a cluster in FAT 32 _____ is/are needed.
      ►Nibble
      ►Byte
      ►2 Bytes
      ►4 Bytes Click here for detail
      Question : 8 of 10 ( Marks: 1 ) - Please choose one
      If a file size is 12K and the size of the cluster is 4K then _____ clusters are used for the file.
      ►2
      ►3
      ►4
      ►5
      Question : 9 of 10 ( Marks: 1 ) - Please choose one
      We can access the contents of File by using the root directory entry and _____.
      ►Reserved Blocks
      ►Number of FAT copies
      ►File Allocation Table (FAT) (Page 269)
      ►None of the given
      Question : 10 of 10 ( Marks: 1 ) - Please choose one
      FAT based file system can store file name in ________ form.
      ►ASCII
      ►UNICODE
      ►Both ASCII and UNICODE
      ►None of the given

      17
      Question : 1 of 10 ( Marks: 1 ) - Please choose one
      Drive parameter block is derived from ___________.
      ►FCB
      ►FAT
      ►BPB (Page 249)
      ►CPB
      Question : 2 of 10 ( Marks: 1 ) - Please choose one
      We can access Blocks for FAT using _________.
      ►BPB
      ►DPB
      ►FCB
      ►Both BPB and DPB
      Question : 3 of 10 ( Marks: 1 ) - Please choose one
      If we know the cluster number, we can access the blocks within the cluster using BIOS services directly.
      ►True (Page 258)
      ►False
      Question : 4 of 10 ( Marks: 1 ) - Please choose one
      ________ is an internal data structure of DOS and resides in main memory.
      ►BPB
      ►DPB
      ►CPB
      ►None of the given. Click here for detail
      Question : 5 of 10 ( Marks: 1 ) - Please choose one
      The size of DPB data structure is _______ bytes.
      ►16
      ►32
      ►64
      ►128 click here for detail
      Question : 6 of 10 ( Marks: 1 ) - Please choose one
      The size of FCB data structure is _______ bytes.
      ►16 Click here for detail
      ►32
      ►64
      ►128
      18
      Question : 7of 10 ( Marks: 1 ) - Please choose one
      Advantages of FAT32 is/are ________.
      ►Large disk size can be managed in FAT32
      ►Cluster size is reduced Click here for detail
      ►Internal fragmentation is reduced
      ►All of the given
      Question : 8 of 10 ( Marks: 1 ) - Please choose one
      ________ file system keeps the backup of its boot block.
      ►FAT12
      ►FAT16
      ►FAT32 Click here for detail
      ►None of the given
      Question : 9 of 10 ( Marks: 1 ) - Please choose one
      To store a UNICODE character ____ is/are needed.
      ►Nibble
      ►Byte
      ►2 Bytes Click here for detail
      ►4 Bytes
      Question : 10 of 10 ( Marks: 1 ) - Please choose one
      ______ is the first block on disk.
      ►LSN =0
      ►LBA=0 (Page 240)
      ►LBA=1
      ►Both LBA=0 and LSN=0
      Question : 1 of 10 ( Marks: 1 ) - Please choose one
      If FAT entry is between FFF0H to FFF6H in FAT16 then _______.
      ►Cluster is available
      ►It is a Reserved cluster (Page 272)
      ►It is next file cluster
      ►It is a last file cluster

      19
      Question : 2 of 10 ( Marks: 1 ) - Please choose one
      File system used in CD’s is_______ file system
      ►Contiguous Click here for detail
      ►Chained
      ►Indexed
      ►None
      Question : 3 of 10 ( Marks: 1 ) - Please choose one
      A file has 2 clusters and the size of cluster is 4K. What will be the size of file?
      ►2K
      ►8K
      ►16K
      ►32K
      Question : 4 of 10 ( Marks: 1 ) - Please choose one
      In NTFS, Backup of boot block is stored at block # __________.
      ►2
      ►6
      ►8
      ►10
      Question : 5 of 10 ( Marks: 1 ) - Please choose one
      The interval timer can operate in _______ modes.
      ►Five
      ►Seven
      ►Four
      ►Six (Page 72)
      Question : 6 of 10 ( Marks: 1 ) - Please choose one
      File control block (FCB) is __________ byte long.
      ►32 Click here for detail
      ►64
      ►16
      ►128

      20
      Question : 7 of 10 ( Marks: 1 ) - Please choose one
      On the execution of IRET instruction, number of bytes popped from stack is
      ► 4 bytes
      ► 6 bytes
      ► 8 bytes Click here for detail
      ► 10 bytes
      Question : 8 of 10 ( Marks: 1 ) - Please choose one
      If CPUID instruction is not present then the processor can be a
      ► 486 processor (Page 166)
      ► 386 processor
      ► 286 processor
      ► All of the above
      Question : 9 of 10 ( Marks: 1 ) - Please choose one
      Extended memory is available if the processor is of the type _______________
      ►AT (Page 171)
      ►XT
      ►All of the given choices
      ►None of them
      Question : 10 of 10 ( Marks: 1 ) - Please choose one
      The built in mechanism within the UART for error detection is_____________
      ►hamming code
      ►parity (Page 107)
      ►CRC16 (cyclic redundancy check 16 bit )
      ►CRC32 (cyclic redundancy check 32 bit )
      Question : 1 of 10 ( Marks: 1 ) - Please choose one
      If three Programmable interrupt controllers are cascaded then how many interrupt driven hardware IO devices
      can be attached _____________
      ►12
      ►18
      ►23
      ►24 (Page 48)

      21
      Question : 2 of 10 ( Marks: 1 ) - Please choose one
      Int 14H____________ can be used to send a byte
      ►Service#0
      ►Service#1 (Page 121)
      ►Service#2
      ►None of the given option.
      Question : 3 of 10 ( Marks: 1 ) - Please choose one
      Int 14H __________ can be used to set the line parameter of the UART or COM port.
      ►Service # 0 (Page 119)
      ► Service # 1
      ►Service # 2
      ►None of the given options
      Question : 4 of 10 ( Marks: 1 ) - Please choose one
      Int 14H __________ can be used to receive a byte.
      ►Service # 0
      ►Service # 1
      ► Service # 2 (Page 121)
      ►None of the given options
      Question : 5 of 10 ( Marks: 1 ) - Please choose one
      The ____________ function simply enables the self test facility within the modem control register
      ►STOn()
      ►SelfTest()
      ►SelfTestOn() (Page 127)
      ►None of these
      Question : 6 of 10 ( Marks: 1 ) - Please choose one
      ________ is a device incorporated into the PC to update time even if the computer is off.
      ►Clock counter
      ►ROM
      ►Clock
      ►Real time clock (Page 136)

      22
      Question : 7 of 10 ( Marks: 1 ) - Please choose one
      Interrupt ______ is used to get or set the time.
      ►0AH
      ►1AH (Page 136)
      ►2AH
      ►3AH
      Question : 8 of 10 ( Marks: 1 ) - Please choose one
      ______ is used to set time.
      ►1A/02H
      ►1A/03H (Page 138)
      ►1A/04H
      ►1A/05H
      Question : 9 of 10 ( Marks: 1 ) - Please choose one
      ------------ is used to read date from RTC
      ►1A\02H
      ►1A\03H
      ►1A\04H (Page 138)
      ►1A\05H
      Question : 10 of 10 ( Marks: 1 ) - Please choose one
      whenever received indicates the start of communication and ______ whenever received indicates a
      temporary pause in the communication.
      ►XON & XOFF (Page 135)
      ►XOFF & XON
      ►XON & YOFF
      ►YON & XOFF
      Question : 1 of 10 ( Marks: 1 ) - Please choose one
      The
      ____ function uses the COM port number to receive a byte from the COM port using BIOS services.
      ►recievebyte()
      ►initialize ()
      ►receive()
      ►recievechar() (Page 125)
      Question : 2 of 10 ( Marks: 1 ) - Please choose one
      In self test mode the output of the UART is routed to its input.
      ►True (Page 117)
      ►False
      23
      Question : 3 of 10 ( Marks: 1 ) - Please choose one
      Only ________ ports are important from programming point of view.
      ► 70 and 71H (Page 141)
      ►71 and 72H
      ►70 and 72H
      ►72 and 73H
      Question : 4 of 10 ( Marks: 1 ) - Please choose one
      The BIOS interrupt 0x1AH can be used to configure real time clock
      ►True (Page 136)
      ►False
      Question : 5 of 10 ( Marks: 1 ) - Please choose one
      DOS command ________ which gives the status of the memory and also points out which memory area
      occupied by which process.
      ►mem/d (Page 13)
      ►mem/e
      ►mem/m
      ►None of the given
      Question : 6 of 10 ( Marks: 1 ) - Please choose one
      Each entry in the IVT is ________ in size.
      ►4-bytes (Page 12)
      ►6-bytes
      ►8-bytes
      ►2-bytes
      Question : 7 of 10 ( Marks: 1 ) - Please choose one
      The tail value of the keyboard buffer should be examined to get to the ______ of the buffer.
      ►Start (Page 56)
      ►End
      ►Middle
      ►None of given)
      Question : 8 of 10 ( Marks: 1 ) - Please choose one
      Usually interrupt procedures are reentrant procedures especially those interrupt procedure compiled using C
      language compiler are reentrant.
      24
      ►True (Page 38)
      ►False
      Question : 9 of 10 ( Marks: 1 ) - Please choose one
      ______ is Disk interrupt.
      ►10H
      ►11H
      ►13H (Page 42)
      ►14H
      Question : 10 of 10 ( Marks: 1 ) - Please choose one
      In parallel communication, the maximum numbers of bits we can send between two computers are ________.
      ►2-bits
      ►4-bits
      ►6-bits
      ►8-bits

      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
      [NOTE: Don't copy or replicating idea solutions.]
      VU Handouts
      Quiz Copy Solution
      Mid and Final Past Papers
      Live Chat

      1 Reply Last reply
      0
      • zareenZ Offline
        zareenZ Offline
        zareen
        Cyberian's Gold
        wrote on last edited by
        #3

        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        14h include __________ which is used to send a byte.
        ►Service #0
        ►Service #1 (Page 121)
        ►Service #2
        ►Service #3
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        The status register _____ is the main control register.
        ►B (Page 146)
        ►A
        ►C
        ►D
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        _________ is used to identify the cause of interrupt.
        ►Interrupt ID Register (Page 116)
        ►PC Register
        ►AC Register
        ►None of All These
        25
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        In NTFS, up to ________ characters are used to store files names,
        ►30
        ►48
        ►255 (Page 283)
        ►510
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        A cluster is a collection of contiguous _______.
        ►Blocks (Page 242)
        ►Sectors
        ►Bytes
        ►None of Given
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        In BPB, root directory is saved in _________.
        ►Cluster#0
        ►Cluster#1
        ►Cluster#2
        ►Cluster#3
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        In NTFS, total sizes of MFT entries are _______.
        ►16-bytes (Page 303)
        ►20-bytes
        ►26-bytes
        ►32-bytes
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        In NTFS, _______ store the contents of file.
        ►Both small & large file Record
        ►Small record
        ►Large Record
        ►None of given

        26
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        In NTFS, contents and indexed of file is stored in _____.
        ►Small record
        ►Large Record
        ►Both small & large file Record
        ►None of given
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        Total No. of bytes that can be stored in Keyboard Buffer is
        .
        ►16
        ►32 (Page 54)
        ►64
        ►128
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        BIOS support _____________UARTS as COM ports.
        ►6
        ►4 (Page 113)
        ►3
        ►2
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        DCE stands for __________.
        ►Data communication equipment (Page 109)
        ►Distributed Computing Environment
        ►Data Communications Equipment
        ►Data Carrier Equipment
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        In counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
        ►1
        ►2
        ►4
        ► 16 (Page 69)

        27
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        In ____________each byte is needed to be encapsulated in start and end.
        ►Synchronous communication
        ►Asynchronous communication (Page 106)
        ►Both
        ►None of given
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        The ______ service # is not used in any interrupt.
        ►01
        ►02
        ►03
        ►FF
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        If we want to send printing on the printer then we have to perform following steps.
        ►Initialize printer
        ►Read Status
        ►Check Error
        ►All of the given
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        DTE is ____________.
        ►Data terminal equipment (Page 109)
        ►Data transmitting equipment
        ►Dual terminal equipment
        ►None of the given.
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        If printer is _____ then printer sends back the ACK signal to the printer interface
        ►idle (Page 97)
        ►busy
        ►Out of paper
        ►None of the given

        28
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        DSR stands for __________ .
        ►Data set ready (Page 111)
        ►Data service ready
        ►Data stock ready
        ►None of the given
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        At IRQ 7 Interrupt # ___ is used.
        ► 0x0A
        ►0x0B
        ► 0x0C
        ►0x0F (Page 95)
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        The memory addresses of COM ports remain same for all computers
        ►True
        ►False
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively. which of the following
        condition is used to check that Ctrl + Alt keys are pressed. Where: unsigned char far * scr = (unsigned char far
        *)(0x00400017);
        ►if (((*scr)&12)==12)
        ►if (((*scr)&8)==8)
        ►if (((*scr)&4)==4)
        ►if (((*scr)&2)==2)

        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        In case of synchronous communication a timing signal is required to identify the start and end of a bit.
        ►True (Page 105)
        ►False
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        The baud rate is set in accordance with the divisor value loaded within the UART internal registers base +0 and
        base +1.
        ►TRUE (Page 114)
        ►FALSE
        29
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        Software based flow control make use of -------- control characters
        ►Xon
        ►XOFF
        ►Both (Page 135)
        ►None
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        ------------ is used to read time from RTC
        ►1A\02H (Page 137)
        ►1A\03H
        ►1A\04H
        ►1A\05H

        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        Int_____________ service 0 can be used to set the line parameter of the UART or COM port.
        ►14H (Page 119)
        ►15H
        ►13H
        ►None of the given option
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        When LBA is equal to zero (0), it means ________.
        ►First block of the disk (Page 240)
        ►First block of the logical drive
        ►First block of the hidden block
        ►None of the given
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        In IRQ2 and IRQ3 which one has the highest priority?
        ►Can’t be determined
        ►Both have same priority
        ►IRQ3
        ►IRQ2 (Page 47)

        30
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        Following is not a method of I/O
        ►Programmed I/O
        ► Interrupt driven I/O
        ►Hardware Based I/O (Page 4)
        ►None of given
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        It is possible to perform I/O operations from three different methods.
        ►True (Page 7)
        ►False
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        The Function of I/O controller is to provide ____________.
        ►I/O control signals
        ►Buffering
        ►Error Correction and Detection
        ►All of given (Page 5)
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        Which of the following are types of ISR __________.
        ►BIOS (Basic I/O service ) ISR
        ►DOS ISR
        ►ISR provided by third party device drivers
        ►All of the given (Page 13)
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        Interrupt service number is usually placed in ____________ register.
        ►CH
        ►CL
        ►AH (Page 26)
        ►AL

        31
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        NMI Stand for
        ►Non Maskable Interrupt (Page 46)
        ►Non Multitude Interrupt
        ►Non Maskable Instruction
        ►None of Given
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        A single interrupt controller can arbitrate among ____ different devices.
        ►4
        ► 6
        ►8 (Page 47)
        ►10
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        The microprocessor package has many signals for data. Below are some incorrect priority order (Higher to
        Lower).
        ►Reset,Hold,NMI,INTR (Page 46)
        ►NMI, INTR,Hold,Reset
        ►INTR,NMI,Reset,Hold
        ►None of the Given
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        The following command “outportb (0x61,inportb(0x61) & 0xFC);” will
        ►Turn on the speaker
        ►Turn off the speaker (Page 75)
        ►Toggle the speaker
        ►None of the given
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        The following command “outportb (0x61,inportb(0x61) | 3);” will ________ .
        ►Turn on the speaker (Page 74)
        ►Turn off the speaker
        ►Toggle the speaker
        ►None of the above
        32
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        The PPI acts as an interface between the CPU and a parallel ________ .
        ►I/O device (Page 83)
        ►CPU
        ►BUS
        ►None of Given
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        BIOS DO NOT support ______.
        ►LPT1
        ►LPT2
        ►LPT3
        ►LPT4 (Page 91)
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        _____ bit is cleared to indicate the low nibble is being sent.
        ►D1
        ►D2
        ►D3
        ►D4 (Page 104)
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        The bit ______ of Line control register in UART, if cleared will indicate that DLL is the data register.
        ►1
        ►3
        ►5
        ►7 (Page 114)
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        ___________ file system is used in NTFS based systems.
        Contiguous Chained
        Indexed
        None of the given

        33
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        Communication between keyboard and keyboard controller is __________.
        ►Asynchronous serial
        ►Synchronous serial (P 77)
        ►Parallel communication
        ►None of the given
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        In NTFS, boot sector is stored at
        ►First and 6th sector
        ►First and Last sector
        ►Only at Last sector
        ►Only at First sector
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        Standard PC operates in two modes in terms of memory which are
        ►Real mode and Extended Mode
        ►Base mode and Memory Mode
        ►None of the given
        ►Real mode and protected mode (Page 6)
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        IVT is a table containing ______ byte entries each of which is a far address of an interrupt service routine.
        ►2
        ►4 (Page 20)
        ►8
        ►16
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        Each paragraph in keep function is ____ bytes in size.
        ►4
        ►8
        ►16 (Page 24)
        ►32

        34
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        A software interrupt does not require EOI (End of interrupt).
        ►True (Page 49)
        ►False
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        To store each character in keyboard buffer ____ bytes are required.
        ►2 (Page 54)
        ►4
        ►6
        ►8
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        Interrupt _____ is empty; we can use its vector as a flag.
        ►9H
        ►13H
        ►15H
        ►65H (Page 65)
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        Command register is an _____ bit register
        ►4
        ►8 (Page 71)
        ►16
        ►32
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        How many bytes can be used to store a file name in NTFS?
        ►128
        ►255
        ►510
        ►1024
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        ____ is the first logical sector of NTFS partition.
        ►DPB
        ►MFT
        ►Boot sector
        ►None
        35
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        In boot block BIOS parameter block starts from 03H
        ►05H
        ►08H
        ►0BH (Page 302)
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        IN NTFS, FAT and root directory is replaced by
        ►FCB
        ►MFT (Page 301)
        ►Hidden blocks
        ►Boot sector
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        Block # 2 is the safest block to store the backup of boot block.
        ►True
        ►False
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        The keyboards interface as discussed earlier uses the IRQ0 and the port 64H as data port.
        ►True
        ► False
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        FAT12 will have 12-bit wide entries and can have 2^12=4096 entries maximum
        ►True
        ► False
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        In order to produce the sound from PC internal Speaker we have to load the___bit divisor value at the ___port.
        ►8, 0x21
        ►16, 0x42
        ►32, 0x22
        ►64, 0x32

        36
        Some More MCQs and Quizzes
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        DMA stands for_________
        ►Direct Memory Access (Page 4)
        ►Distinct Memory Access
        ►Direct Module Access
        ►Direct Memory Allocation
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        UART stands for_______
        ►Universal Asynchronous Receiver Transmitter (Page 107)
        ►Universal Adjustment and Realigning Tool
        ►Unconventional Assisted Recovery Team
        ►None of these
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        Interrupt Vector Table (IVT) in short is a _______ bytes sized table.
        ►1024 (Page 10)
        ►2048
        ►3072
        ►4096
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        Hardware Interrupts are __________.
        ►Preemptive
        ►Non-Preemptive (Page 48)
        ►Both Preemptive and Non-Preemptive
        ►None of Given
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        Timer interrupt is a ___.
        ►Hardware Interrupt (Page 28)
        ►Software Interrupt
        ►Both of these
        ►None of These
        37
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        The keyboard makes use of interrupt number _______ for its input operations.
        ►9 (Page 34)
        ►10
        ►11
        ►12
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        Register can be used to divide frequency is _________
        ►Counter Register (Page 69)
        ►Accumulator Register
        ►None of these
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        Which port is known as Data Port

        ►60H (Page 177)
        ►61H
        ►64H
        ►69H
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        LPTs can be swapped.
        ►True (Page 92)
        ►False
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        PPI is used to perform parallel communication
        ►True (Page 81)
        ►False
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        __________is used to control the printer via the BIOS
        ►Int 16H
        ►Int 17H (Page 84)
        ►Int 18H
        ►Int 19H

        38
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        There are two main types of interrupts namely _________________.
        ►PC based and Window based
        ►Hardware based and Kernal based
        ►Hardware interrupts and Software interrupts (Page 10)
        ►None of the given
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        To set the interrupt vector means is to change the double word sized interrupt vector within the IVT.
        ►True (Page 22)
        ►False
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        The service number is usually placed in the ________ register.
        ►AL
        ►CL
        ►AH (Page 26)
        ►AX
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        The keyboard makes use of interrupt number _______ for its input operations.
        ► 9 (Page 34)
        ►10
        ►11
        ►12
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        The service _________ is called the keyboard hook service.
        ►15H/2FH
        ►15H/4FH (Page 44)
        ►15H/FFH

        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        The BIOS interrupt ________ can be used to configure RTC.
        ►1AH (Page 136)
        ►2AH
        ►3AH
        ►4AH
        39
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        PPI stands for
        ►Parallel Programmable interface
        ►Peripheral Programmable interface (Page 76)
        ►Port Programmable interface
        ►None of the given
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        Int ________ is used to control the printer via the BIOS.
        ►17H (Page 84)
        ►18H
        ►20H
        ►21H
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        Counter register can be used to divide clock signal.
        ►True (Page 69)
        ►False

        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        The bit number _______ of the coprocessor control word is the interrupt enable flag.
        ►7 (Page 168)
        ►8
        ►9
        ►6
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        There are __________ kinds of serial communication.
        ►2 (Page 105)
        ►3
        ►4
        ►5
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        ________ store the base address for LPT1.
        ►40:00H
        ►40:02H
        ►40:08H (Page 92)
        ►40:1AH

        40
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        The amount of memory above conventional memory (extended memory) can be determined using the service
        _______.
        ►15H/88H (Page 162)
        ►16H/88H
        ►17H/88H
        ►21H/88H
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        The output on the monitor is controlled by a controller called __________within the PC.
        ►Video controller (Page 30)
        ►Bus controller
        ►Ram controller
        ►None of the given
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        Interrupt 9 usually reads the _________ from keyboard.
        ►ASCII code
        ►Scan code (Page 34)
        ►Both ASCII and Scan code
        ►None of the above
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        NMI Stand for
        ►Non Maskable Interrupt (Page 46)
        ►Non Multitude Interrupt
        ►Non Maskable Instruction
        ►None of Given
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        A single interrupt controller can arbitrate among ____ different devices.
        ►4
        ►6
        ►8 (Page 47)
        ►10

        41
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        The microprocessor package has many signals for data. Below are some in Correct priority order (Higher to
        Lower).
        ►Reset,Hold,NMI,INTR (Page 46)
        ►NMI, INTR,Hold,Reset
        ►INTR,NMI,Reset,Hold
        ►None of the Given
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        The ________function initialize the COM port whose number is passed as parameter using BIOS services.
        ►Initializecom()
        ►Initialize() (Page 125)
        ►Recievechar()
        ►None of these option
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        There are two type of communication synchronous and Anti Synchronous
        ►True
        ►False (Page 105)
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        REGS is a Union
        ►True
        ►False
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        Keyboard Status Byte is located at the address
        ► 0040:0000H
        ► 0040:0013H
        ► 0040:0015H
        ► 0040:0017H (Page 29)
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        If we use keep (0, 1000) in a TSR program, the memory allocated to it is
        ► 64000 bytes
        ► 32000 bytes
        ► 16000 bytes
        ► 80000 bytes
        42
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        Maximum number of interrupts in a standard PC is
        ► 64
        ► 128
        ► 256 (Page 10)
        ► 512
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        The -------- function receive a byte and COM port number is passed as parameter using BIOS service
        ►Receivebyte ();
        ►Receive ();
        ►Receivechar (); (Page 125)
        ►None of the given option
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        ------------ whenever receive indicates the start of communication ………… whenever receive indicates the end
        of communication
        ►XON\XOFF (Page 135)
        ►XOFF\XON
        ►XON\YOFF
        ►YON\XOFF
        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        ------------ is used to set time from RTC
        ►1A\02H
        ►1A\03H (Page 138)
        ►1A\04H
        ►1A\05H

        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        Set the Interrupt vector means to change the double word sized interrupt vector within IVT.
        ►True (Page 22)
        ►False
        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        If keyboard buffer is empty the head and tail points at the same location.
        ►True (Page 55)
        ►False
        43
        Question : 1 of 10 ( Marks: 1 ) - Please choose one
        Standard PC can have _____ PPI.
        ►1
        ►4 (Page 84)
        ►8
        ►16
        Question : 2 of 10 ( Marks: 1 ) - Please choose one
        By cascading two DMAs ____ bits can be transferred.
        ►4
        ►8
        ►16 (Page 186)
        ►32
        Question : 3 of 10 ( Marks: 1 ) - Please choose one
        PPI interconnection _______ bits is cleared to indicate low nibble is being sent.
        ►D1
        ►D2
        ► D3
        ► D4 (Page 101)
        Question : 4 of 10 ( Marks: 1 ) - Please choose one
        Display device (Monitor) performs _________ I/O.
        ►memory mapped (Page 30)
        ►Isolated
        ►Both of above
        ►None of these
        Question : 5 of 10 ( Marks: 1 ) - Please choose one
        Timer interrupt occurs _______ times every second by means of hardware.
        ►18.2 (Page 28)
        ►16.2
        ►15.2
        ►14.2
        Question : 6 of 10 ( Marks: 1 ) - Please choose one
        An I/O device cannot be directly connected to the busses so controller is placed between CPU and I/O.
        ►True (Page 83)
        ►False
        44
        Question : 7 of 10 ( Marks: 1 ) - Please choose one
        Tail of keyboard should get to get the start of buffer.
        ►True (Page 55)
        ►False

        Question : 8 of 10 ( Marks: 1 ) - Please choose one
        ____ No. of bytes are used to store the character in the keyboard buffer.
        ► 1
        ►2 (Page 54)
        ►4
        ► 8
        Question : 9 of 10 ( Marks: 1 ) - Please choose one
        We have set the bit No. 7 of IMR(Interrupt Mask Register) to unmask the Interrupt so that interrupt _____ can
        occur at ____ line.
        ►0xf ,IRQ 7
        ► 0xa, IRQ 6
        ► 0x8, IRQ 5
        ►0x6, IRQ 2

        Question : 10 of 10 ( Marks: 1 ) - Please choose one
        If we want to produce the grave voice from speaker phone then we have to load the ____ divisor values at Port
        ____.
        ►high, 0x42
        ►low, 0x22
        ►high, 0x22
        ►low, 0x42

        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
        %(red)[NOTE: Don't copy or replicating idea solutions.]
        Quiz Copy Solution
        Mid and Final Past Papers
        Live Chat

        1 Reply Last reply
        0

        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        How to Build a $1,000/Month PAK VS BAN Live Live Cricket Streaming
        File Sharing
        Earn with File Sharing

        0

        Online

        3.0k

        Users

        2.8k

        Topics

        8.2k

        Posts
        solution
        1235
        discussion
        1195
        fall 2019
        813
        assignment 1
        428
        assignment 2
        294
        spring 2020
        265
        gdb 1
        238
        assignment 3
        79
        • PM. IMRAN KHAN
          undefined
          4
          1
          4.0k

        • Are the vaccines halal or not?
          undefined
          4
          1
          3.8k

        • All Subjects MidTerm and Final Term Solved Paper Links Attached Please check moaaz past papers
          zaasmiZ
          zaasmi
          3
          26
          75.1k

        • CS614 GDB Solution and Discussion
          M
          moaaz
          3
          3
          8.1k

        • How can I receive Reputation earning from Cyberian? 100% Discount on Fee
          Y
          ygytyh
          3
          28
          23.9k
        | |
        Copyright © 2010-26 RUP Technologies LLC. USA | Contributors | Privacy | Terms
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Pro Blog
        • Users
        • Groups
        • Unsolved
        • Solved