Whatsapp +92 307 4151718 vuassassins@gmail.com




CS101 – Introduction to Computing

CS101 Introduction to computing, where you can prepare basic knowledge of Computer, HTML and JavaScript in whole Course of this subject. HTML is Little bit JavaScript is for Mid Term and Full of JavaScript for Final Term. We have covered digitized mid and final paper, video, notes, chapter wise Quiz preparation. It’s mobile compatible site. You can prepare your exams on your mobile.

NOTE: Click on Preparation Tab to take the MCQ’s Tests.

MID TERM

CS101_Mid_Fall_Paper1                                             View     Download

CS101_Mid_2010_Paper2                                           View     Download

CS101_Mid_Fall_Papers3                                           View     Download

CS101_Mid_Subjec_Paper4                                        View     Download

CS101_Mid_Mega_Subjective                                     View     Download

FINAL TERM

CS101_Final_MCQs_All                                               View     Download

CS101_Final_MCQsCoveringlecture140                     View     Download

CS101_Final_solmcqsmegafiles115papers                 View     Download

CS101_FINAL_TERM_SOL_MCQS                           View       Download

 MID CHAPTER WISE PREPARATION BY JAHAN ZAIB ASHIQ

CS101 – Mid Chapter Wise Quiz 01 to 02

CS101 – Mid Chapter Wise Quiz 02 to 03

CS101 – Mid Chapter Wise Quiz 03 to 04

CS101 – Mid Chapter Wise Quiz 05 to 07

CS101 – Mid Chapter Wise Quiz 08 to 10

CS101 – Mid Chapter Wise Quiz 10 to 11

CS101 – Mid Chapter Wise Quiz 11 to 14

CS101 – Mid Chapter Wise Quiz 15 to 17

CS101 – Mid Chapter Wise Quiz 18 to 20

FINAL CHAPTER WISE PREPARATION BY JAHAN ZAIB ASHIQ

CS101 – Final Chapter Wise Quiz 23 to 28

CS101 – Final Chapter Wise Quiz 29 to 32

CS101 – Final Chapter Wise Quiz 33 to 38

CS101 – Final Chapter Wise Quiz 39 to 45

POSTED DATE:25-01-2019        SOLUTION

   
  <html>
  <head>
  <title>
  Employee Salary Calculator
  </title>
  </head>
  <body style=”border: 3px solid #c3c3c3;” >
  <h1 style=”text-align:center; margin-top:50px; background-color: #037dfb;“>Employee Salary Calculator</h1>
  <h3 style=”text-align:center; margin-bottom:100px; background-color: #32a96c;“>Welcome to online Salary Calculator</h3>
   
  <table style=”text-align:left; margin: 0 auto;“>
  <form action=””>
  <tr>
  <td>Employee ID:</td>
  <td><input type=”textvalue=”BC100402090” /></td>
  </tr>
   
  <tr>
  <td>Employee Name:</td>
  <td><input type=”textvalue=”JAHAN ZAIB ASHIQ” /></td>
  </tr>
   
  <tr>
  <td>Father Name:</td>
  <td><input type=”textvalue=”MUHAMMAD ASHIQ” /></td>
  </tr>
   
  <tr>
  <td>Gender:</td></tr><br>
  <tr>
  <td>Female <td>
  <input type=”radioname=”Gendervalue=”Femalechecked=”checked“/></tr>
  <td>Male <td>
  <input type=”radioname=”Gendervalue=”Male” />
  </tr>
   
  <tr>
  <td>CNIC:</td>
  <td><input type=”textvalue=”35201-4000001-0” /></td>
  </tr>
   
  <tr>
  <td>Basic Salary*:</td>
  <td><input type=”numberid=”BSalary“/></td>
  </tr>
   
  <tr>
  <td>Utilities*:</td>
  <td><input type=”numberid=”Utidisabled/></td>
  </tr>
   
  <tr>
  <td>House Rent*:</td>
  <td><input type=”numberid=”hRentdisabled/></td>
  </tr>
   
  <tr>
  <td>Tax Percentage*:</td>
  <td><input type=”numberid=”tPerdisabled/></td>
  </tr>
   
  <tr>
  <td>Total Salary*:</td>
  <td><input type=”numberid=”tSaldisabled/></td>
  </tr>
   
  <tr>
  <td>Tax Year:</td>
  <td><select>
  <option value=”2014“>2014</option>
  <option value=”2015“>2015</option>
  <option value=”2016“>2016</option>
  <option value=”2017“>2017</option>
  <option value=”2018“>2018</option>
  </select></td>
  </tr>
   
  <tr>
  <td colspan=”2“><input type=”buttonValue=”Calculateonclick=”salCal()“/>
  <input type=”resetValue=”Clear” />
  <span>You can press Reset Button for another Employee</span></td>
  </tr>
   
  </form>
  </table>
   
   
  <!–JavaScript Code for Calculation–>
  <script>
  function salCal(){
  var bSal = document.getElementById(“BSalary”).value;
   
  if(isNaN(bSal) || bSal<=0)
  {
  window.alert(“Basic Salary is missing”);
  }
  else
  {
  a = bSal*10/100;
  document.getElementById(“Uti”).value = a;
   
  b = bSal*8/100;
  document.getElementById(“hRent”).value = b;
   
  c = bSal*2/100;
  document.getElementById(“tPer”).value = c;
   
  d = (a + b) + (bSal – c);
  document.getElementById(“tSal”).value = d;
  }
  }
   
  </script>
  </body>
   
  </html>

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CS101 assignment no 3                                     View     Download

CS101 – Mid Chapter Wise Quiz 01 to 23

CS101 – Introduction to Computing – Quiz 1

 

CS101 – Introduction to Computing – Quiz 2

 

CS101 – Introduction to Computing – Quiz 3

 

CS101 – Introduction to Computing – Quiz 4

 

1 Comment

  1. Ayesha Mumtaz

    Question No: 32 ( Marks: 1 )
    What are the types of computer network according to the distance between nodes ?

    Answer:
    There are two types of networks.
    1. LAN (Local Area Network)
    2. WAN (Wide Area Network)

    Question No: 33 ( Marks: 2 )
    What is meant by semantic error ?
    Answer:

    Occur when a statement executes and has an effect not intended by the programmer and
    Often times occur only in unusual & infrequent circumstances

    Question No: 34 ( Marks: 2 )
    List down the names of two array methods available in JavaScript.
    Answer:

    1. sort( ) [sorts elements in alphabetical order]
    2. reverse( ) [Reverses the order of elements]

    Question No: 35 ( Marks: 3 )
    How can you define a consistent web design? Why is it needed?
    Answer:

    A consistent good designed website is generated for general public that allows users to attain what they want as quickly as possible without spending much effort. A consistent good design assists the user in recovering from errors.

    Question No: 36 ( Marks: 3 )
    How can we include images in a web page using HTML and Java script?
    Answer:

    Image in HTML

    Image in Javascript
    Images in JavaScript can be manipulated in many ways using the built-in object Image. Additional properties to HTML are hspace, vspace & lowsrc. Example: It can be used by many handlers like, onAbort, onLoad & onError

    Question No: 37 ( Marks: 3 )
    The event handler attribute consists of three parts. Write about each of them.
    Answer :

    The identifier of the event handler
    The equal sign
    A string statement enclosed in double or single quotes.

    Question No: 38 ( Marks: 5 )
    What is a packet in the network environment? What kind of information does it contain?
    Answer:

    • Packet is data chopped up into pieces in a network environment.
    • These packets contain information about which computer sent the data and where the
    data is going.
    If a packet runs into a problem during its trip, it can attempt to find another route.
    When all the packets get where they are going, the recipient computer puts them together
    again

    Question No: 40 ( Marks: 10 )
    Write down
    HTML and JavaScript code for the following requirements:
    Declare an Array with the identifier SUBJECT having length 5. Assign following values to
    the array elements:

    MIS, Java, Algorithms, Databases, C++
    Show all values in reverse order.

    Question No: 41 ( Marks: 10 )
    How instant
    messaging works? Write the steps involved in this process.
    Answer:

    The Instant Messaging services available allow us to maintain a list of people
    (contacts) that we interact with regularly. We can send instant messages to any of the
    contacts in our list as long as that contact is online.
    Following steps are involved in IM working.
    1. User commences the IM client.
    2. IM client finds the IM server & logs in.

    Question No: 37 ( Marks: 3 )
    The event handler attribute consists of three parts. Write
    about each of them.
    Answer :

    The identifier of the event handler
    The equal sign
    A string statement enclosed in double or single quotes.

    Question No: 38 ( Marks: 5 )
    What is a packet in the network environment? What kind of information does it contain?
    Answer:

     Packet is data chopped up into pieces in a network environment.
     These packets contain information about which computer sent the data and where the data is going.
     If a packet runs into a problem during its trip, it can attempt to find another route. When all the packets get
    where they are going, the recipient computer puts them together again.

    Question No: 39 ( Marks: 5 )
    Suppose we have a big project. Draw hierarchy of the people involved in the project?
    Answer:

    Please ignore small lines relating Sub Teams to subordinates due to shortage of time. ABCD etc are connected directly to Team Lead 1,2 & 3 accordingly.

Submit a Comment