Skip to content
  • 0 Votes
    1 Posts
    341 Views
    No one has replied
  • 0 Votes
    1 Posts
    316 Views
    No one has replied
  • 0 Votes
    1 Posts
    358 Views
    No one has replied
  • 0 Votes
    4 Posts
    1k Views
    Hassi MirzaH
    @zaasmi solution???
  • 0 Votes
    6 Posts
    2k Views
    zareenZ
    CS403_Assignemt_01_Sloution_Fall_2019_Cyberian.pk.docx Solved 100%: • Draw the context level diagram. [image: X2RpAFA.png] • Identify Entities, their attributes, relationships among entities in above scenario and draw Entity Relationship Diagram (ERD) for it. [image: 5quddJc.png]
  • 0 Votes
    6 Posts
    2k Views
    zareenZ
    @zareen said in CS314 Assignment 1 Solution and Discussion: What should be the minimum distance kept between two co-channel cells in order to avoid any interference? Solution [image: HCY59gC.png]
  • 0 Votes
    2 Posts
    700 Views
    zareenZ
    [image: 1573893452999-f2f8db0b-080a-4166-8193-ebfe496159d2-image.png] [image: 1573893466992-81cd29df-fd1f-4137-b250-5c47cb62f106-image.png]
  • 0 Votes
    6 Posts
    2k Views
    asmazahid asmaA
    Fall 2023_CS001_1.docx
  • 0 Votes
    4 Posts
    449 Views
    zareenZ
    @zareen said in BIO302 Assignment 1 Solution and Discussion: What are the Applications of transformation When is transformation used? To make multiple copies of DNA, called DNA cloning. To make large amounts of specific human proteins, for example, human insulin, which can be used to treat people with Type I diabetes. To genetically modify a bacterium or other cell. Source
  • 0 Votes
    5 Posts
    992 Views
    zareenZ
    @zareen said in BIO101 Assignment 1 Solution and Discussion: Write at least 4 examples of bacteria Here are examples of bacterial infections with the bacteria that cause them: Botulism - Clostridium botulinum. Diphtheria - Corynebacterium diphtheriae. Gonorrhea - Neisseria gonorrhoeae. Legionnaire’s Disease - Legionella pneumophila. Leprosy - Mycobacterium leprae. Leptospirosis - Leptospira interrogans. Examples of Bacteria
  • 0 Votes
    3 Posts
    2k Views
    zareenZ
    Task.1: Convert the binary number (10101001)2 into its equivalent decimal number with all calculation steps. Solution: 201 + 210 + 220 +231 + 240 + 251 + 260 + 271 1 + 0 + 0 + 8 +0 + 32 + 0 + 128 = (169)10 Task 2: You have to write the HTML code for creating a from as shown in the following screenshot. [image: PkAOVVQ.png] Solution: <html> <head> <title>Student Information</title> </head> <body> <form name="frmStuGradeCal" align="center"> <table align="center"> <tr><td>Student ID: </td><td><input type ="text" id="yes" Name="StuId" value = BC123456789 ><td bgcolor="#FF0000">*Write your own VUID </td></td></tr><br> <tr><td>Paswword: </td><td><input type ="password" id="yes1" Name="pwd" ></td></tr><br> </table> <input type="button" name="login" value=" Login"> <tr> <td colspan = 2> Press Login button </td> </tr> </form> </body> </html> Task 3: Identify the Network IDs and Host IDs from the given IP addresses and then mention them in their respective columns. [image: tsTlU5R.png] Solution: [image: TelICyY.png]
  • 0 Votes
    4 Posts
    373 Views
    zareenZ
    https://youtu.be/_xaDTRDh0e4
  • 0 Votes
    4 Posts
    964 Views
    zareenZ
    https://youtu.be/9zEln9E25Ck
  • 0 Votes
    3 Posts
    2k Views
    zareenZ
    Solution (A) The formula to calculate the execution time : Execution Time = IC  CPI  T IC for Load / Store Instructions IC for ALU instructions IC for Control instructions = Total Instructions  Ratio of Load / Store Instructions = 200  0.35 = 70 instructions = Total Instructions  Ratio of ALU Instructions = 200  0.55 = 110 instructions = Total Instructions  Ratio of Control Instructions = 200  0.10 = 20 instructions Now, we will calculate the total clock cycles required to execute each type of instructions Total Clock Cycles for Load / Store Total Clock Cycles for ALU Total Clock Cycles for Control = IC for Load / Store  CPI for Load / Store = 70  2.5 = 175 clock cycles = IC for ALU  CPI for ALU = 110  1.25 = 137.5 clock cycles = IC for control  CPI for control = 20  3 = 60 clock cycles Time required (in seconds) for each clock cycle (T)=1/CPU frequency 1 / 500  106 = 0.002  10−6 seconds = 210−9 seconds Now finally, we will calculate the execution time Execution Time (ET ) = Total Clock Cycles  1/ CPU Frequency = (175 + 137.5 + 60)  (1/ 500  106 ) seconds = 372.5210−9seconds 1/500106 =210−9seconds = 745  10−9 seconds = 745 nanoseconds Solution (B) If decrease the average CPI for ALU by 20%, the new average CPI New CPI for ALU = 1.25  (100−20)/100 = 1.25  0.8 = 1 CPI If average CPI for Load / Store instruction is increased by 10%, new average CPI New CPI for Load / Store = 2.5  (100 +10)/100 = 2.5  1.1 = 2.75 CPI Hence, new execution time will be ExecutionTime(E.T) = (702.75+1101+203)x(1/500106)seconds = (192.5+110+60)/(5108)seconds = 362.5  2  10−9 seconds = 725  10−9 seconds = 725 nanoseconds Q. 2 Solution: Solution A (0-Address Code) PUSH B PUSH C ADD ; gives B+C PUSH A MUL ; gives A(B+C) PUSH 2 PUSH A MUL ; gives 2A PUSH C MUL ; gives 2AC PUSH B DIV ; gives 2AC/B SUB ; gives A(B+C) - 2AC/B PUSH C PUSH C MUL ; gives C2 ADD ; gives POP D A(B+C) - 2AC/B + C2 Solution A (1-Address Code) LDA C MULA C STA X LDA A MULA C MULA 2 ; loads the value stored at memory location C in Accumulator ; gives C2 ; stores C2 at memory location X ; loads the value stored at memory location A in Accumulator ; gives AC ; gives 2AC DIVA B ADDA X STA Y LDA B ADDA C MULA A SUB Y STA D ; gives 2AC/B ; adding 2AC/B with C2 stored in X gives 2AC/B + C2 ; stores 2AC/B + C2 at memory location Y ; loads the value stored at memory location B in Accumulator ; gives (B+C) ; gives A(B+C) ; subtracts 2AC/B + C2 from A(B+C) ; stores the result at memory location D Fall 2019_CS501_1_SOL.pdf
  • 0 Votes
    4 Posts
    1k Views
    zaasmiZ
    CS609 Assignment 1 Solution Idea!.. #include<BIOS.H> #include<DOS.H> char st1[80] ={"Virtual University of Pakistan$"}; char st2[80] ={"Washi Ali$"}; char st2[80] ={"Tufail$"}; void interrupt (*oldint65)( ); void interrupt newint65( ); void main() { oldint65 = getvect(0x65); setvect(0x65, newint65); keep(0, 1000); } void interrupt newint65( ) { switch (_AH) { case 0: _AH = 0x09; _DX = (unsigned int) st1; geninterrupt (0x21); break; case 1: _AH = 0x09; _DX = (unsigned int) st2; geninterrupt (0x21); break; case 2: _AH = 0x09; _DX = (unsigned int) st3; geninterrupt (0x21); break; } } }```
  • 0 Votes
    5 Posts
    1k Views
    zareenZ
    @zareen said in CS603 Assignment No. 1 Solution and Discussion: Question No. 1 [Marks = 5] The following UML activity diagram shows typical document routing system in offices, the clerk generates a draft document, after which it is forwarded to manager for review. The manager sends original document to “Accounts” section while the copy of the document with comments is moved towards “Records” section. Both (Accounts & Records) section forward the consolidated document to Head office for final approval, after which the document is approved and financial bill is generated. The diagram shows execution of two activities i.e. “Accounts” and “Records” in parallel. Redraw the above diagram by showing this parallelism using Joins/forks notation. Solution: [image: lEJK8fT.png]
Reputation Earning
How to Build a $1,000/Month World CUP LIVE Matches Live Cricket Streaming
Ads
File Sharing
Stats

0

Online

3.0k

Users

2.8k

Topics

8.5k

Posts
Popular Tags
Online User
| |