Recent content by HY2000

  1. H

    Python exercise

    Clarifying on question 2: In the second question asks you to implement a history list for the "searching by student id" function. The "searching by student id" function is actually the "Locate a record based on student ID" function in my sample. So, I am asking you to provide a list containing...
  2. H

    Python exercise

    For the file attached below, add the following two functions to the code. 1. A search by programme ID function. When this function is selected, a user can use the programme ID as the searching keyword to search all the students who have that programme ID. If found, the student's IDs and names...
  3. H

    Python exercise

    For the file attached below, add the following two functions to the code. 1. A search by programme ID function. When this function is selected, a user can use the programme ID as the searching keyword to search all the students who have that programme ID. If found, the student's IDs and names...
  4. H

    Calculation on velocity

    Q1: A bullet of mass 0.01kg moves horizontally with a speed of 400m/s and embeds itself in a block of wood of mass 0.39kg that is initally at rest on a frictionless table. What is the final velocity of the bullet and the block after the collision? Q2: A man of mass 70kg and a boy of mass 35kg...
  5. H

    Calculation

    Q: Determine the values (in integers) of a, b, and c of the following expressions, I) a= 21+15%2*3; II) b= (10-8)*5%2; III) c= 17%(7%(8-4)); I have no idea how to calculate a,b,c value and show steps, I need some help:confused: Thank you!!
  6. H

    2's complement

    Thank you!!
  7. H

    2's complement

    But how can I know I need to do the 2's complement first. It is hard to see in the question, at first I think it is a grammatical problem
  8. H

    2's complement

    Q: Find the decimal valued for the following 8 bit bit patterns: 10000010 in 2's complement representation I would like to ask if I need to change 10000010 to 2's complement before I calculate the decimal value, or the 10000010 is already changed to 2's complement form? Welcome of...
Back
Top Bottom