How many students took the exam

Assignment Help Computer Engineering
Reference no: EM131857369

Problem

The final exam in your psychology class is 30 multiple-choice questions. Your instructor says that if you write the program to grade the finals, you won't have to take it.

Input

The first data line contains the key to the exam. The correct answers are the first 30 characters; they are followed by an integer number that says how many students took the exam (call it N). The next N lines contain student answers in the first 30 character positions followed by the student's name in the next 10 character positions.

Output

For each student-the student's name; followed by the number of correct answers; followed by PASS if the number correct is 60 percent or better, or FAIL otherwise.

Reference no: EM131857369

Questions Cloud

Determine whether or not any two consecutive lines typed : Design and implement an Ada program to determine whether or not any two consecutive lines typed at the keyboard are anagrams of one another.
Best accounting management system : How does a company choose the best accounting management system for their company?
Project that has cash flows as shown in the table below : The company has a 12% required rate of return and expects a 3% rate of inflation for the following four years. What is the NPV of a project that has cash flows
How much more money do you estimate you will spend : As a manager of a software development project, you need to give senior management a report on the status of the project.
How many students took the exam : The correct answers are the first 30 characters; they are followed by an integer number that says how many students took the exam (call it N).
How much interest is earned on this investment : You inherit $50,000 and decide to invest it for 40 days compounded daily at 6% annual interest.
Discuss the concept of the balanced scorecard : Discuss the concept of the balanced scorecard. What are its key benefits and advantages?
Determine postal cost of parcel by searching weight fields : You can then determine the postal cost of each parcel by searching the Weight fields and then using the Cost field.
Certificate of deposit that pays compounded interest : Find the future value of a $18,000 Certificate of Deposit that pays compounded interest every three months at the rate of 7% per year.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd