Skip to content
Home » Program Paper

Program Paper

    Can you help me understand this Computer Science question?

    The assessment needs a program that needs to be rewrite i have highlighted the first assessment and program that needs to be rewrite in Red Colour. Please check the attachedPlease answer the below questions
    I’m working on a Computer Science question and need guidance to help me study.

    Question 2 – Data Representation in Computers [20 marks]

    (a) Using a “word” of 4 bits, list all of the possible signed binary numbers and their decimal equivalents that are representable in: [6 marks]

    i) Signed magnitude ii) One’s complement iii) Two’s complement

    (b) From the results of the previous question, generalize the range of values (in decimal) that can be represented in any given x number of bits using: [6 marks]

    i) Signed magnitude ii) One’s complement iii) Two’s complement

    (c) Hex value 0xC29C3480 represents an IEEE-754 single-precision (32 bit) floating-point number. Work out the equivalent decimal number. Show all workings (e.g. converting exponent and mantissa). [8 marks]

    Question 3 – MARIE Assembly [20 marks]

    (a) More registers appear to be a good thing, in terms of reducing the total number of memory accesses a program might require. Given an arithmetic example, Sum=(A+B)-(C+D), support this statement. First, determine the number of memory accesses necessary using MARIE and the two registers for holding memory data values (AC and MBR). Then perform the same arithmetic computation for a processor that has more than three registers to hold memory data values. [8 marks]

    (b) Write a MARIE program to calculate some basic statistics on a list of positive numbers. The program will ask users to input the numbers one by one. Assume that all numbers will be in the range 1 to 1000. To terminate the data entry, the user will input any negative number. Once the data entry is complete, the program will show four statistics about the list of numbers: (i) Count, (ii) Minimum value, and (iii) Sum of the numbers.

    As an example, if the user enters the following decimal numbers as input (one after the other)

    23, 6, 78, 36, 3, 250, 127, 210, –5

    the program would output the following values as the count, minimum and sum respectively:

    8 3 733

    Assume that the user will always provide valid numbers as input, that is, do not worry about dealing with invalid input data.

    Write comments within your program so that a reader can understand it easily. [12 marks]Current event paper 2 pages: online nursing assignment help
    I’m studying and need help with a Psychology question to help me learn.

    Choose one topic that is in the recent news. Find a newspaper article, magazine, or another PRINT copy. In addition, use one research journal that relates to the chose topic. The article must be peer reviewed, from the last 5 years, and preferable from a psychology journals (Hint: set your publisher as APA). Write a 2-2 1/2 page paper on what you have found. This will be DOUBLE SPACED.

    Please attach all of your supporting documents.

    Please remember that this an APA paper which should include a title page, and reference page.

    How to create Testimonial Carousel using Bootstrap5

    Clients' Reviews about Our Services