SUPERSTARWEBTECH

There is no elevator to success. You have to take the stairs. Take your first steps with SSWT!

CS401 mid term current paper subjective questions and mcqs from June 23 – July 04 spring 2018

Total Questions: 23
MCQS: 18
Subjective Question: 5
3 and 5 marks questions

CS401 MID TERM SPRING 2018

CURRENT PAPER NO. 1
CS401 CURRENT MID TERM PAPER SPRING 2018


Subjective Questions:

👉Recommended: CS401 MCQS 85+

1.      Consider the following pseudo code and write the corresponding assembly code for it 

Note: There is more credit for a shorter code. / 5 Marks

If (al > bl) AND (bl > cl)

{

cx=1

}

2.      Write a subroutine to calculate the string length? / 5 Marks

3.      Write three illegal “memory addressing mode” instructions. / 3 Marks

4.      For what purpose TEST instruction is used. Explain with example. / 3 Marks

5.      Little Endian and Big Endian? Which format is used by Intel 8088 processor? / 3 Marks

👀See Also: CS401 mid term Short NotesCS401 SOLVED EXERCISES

Share your paper of CS401 Also below 👇  in comments with us and help others.

Objective Questions and MCQS:

👉Recommended: Course wise exam instructions allowed/not allowed software

1) Flags register has __ control flags. 1 2 3 4

2) REP will always ___ increment cx by 1 increment cx by 2 decrement cx by 1 Decrement cx by 1

3) The physical address of the stack is obtained by the ___ combination. SS:SP

4) Execution of CALL effects ___ no. of flags.

5) The ___ directive reserves a 32bit space in memory. DD

6) The shift logical left operation inserts ___. 0 at right

7) The ___ jump is taken after a CMP if the unsigned destination is larger than the unsigned source. JA

8) The first machines ran at 4.43 MHz

9) Information is normally used in communications to verify the integrity of data sent from the sender to the receiver. Parity Flag


10) CMPS subtracts the source location from the destination location. The source location is: DS:SI

11) ___ flag is used for borrow during subtraction operation. Carry Flag

12) The maximum parameters a subroutine can receive (with the help of registers) are: 7

👀SEE ALSO: How attempt mid term exam using software vutes 7.0

13) In string instruction, cx will decrement by: 0 1 2 3

14) ASCII code for ‘A’ is: 0x0041

15) In mov word[es:160], 0x1230, 30 represents which character: 1 2 0 4

16) The first possible segment base value is: 0000

17) The default segment for register BP is: SS

18) Which of the following is true?

a. Control bus is unidirectional

b. In general memory cell cannot be wider than the width of data bus Answer

Shared by: Anny

Share your paper of CS401 Also below 👇  in comments with us and help others.

👉Recommended: CS610 Current mid term paper spring 2018

Author

Anam Afzal

Anam Afzal

Hi, I'm a Pakistani freelancer with a passion for helping businesses achieve their online goals through no-code solutions. I specialize in WordPress customization and ManyChat automation, and I'm always on the lookout for new ways to use technology to make businesses more efficient and successful. I'm also a big believer in the power of no-code tools to democratize technology and make it accessible to everyone. I'm passionate about sharing my knowledge and helping others learn how to use no-code tools to create their own websites, automate their workflows, and grow their businesses. If you're looking for a reliable and experienced no-code developer, I'm here to help. Please feel free to contact me to discuss your project requirements.
SHARE THIS POST