Write the pseudocode to prepare a true-false quiz

Assignment Help Computer Engineering
Reference no: EM132082577

All You need here is just write the pseudocode

this is from my note ( pseudocode steps):

pseudocode: set the accumulator variable (mysum) to zero

loop over the numbers 1 through10 using a for loop

update mysum by adding ? to it

then: print out (mysum)

Know what pseudocode is. Pseudocode is a step-by-step verbal outline of your code that you can gradually transcribe into programming language.

Many programmers use it to plan out the function of an algorithm before setting themselves to the more technical task of coding.

Pseudocode serves as an informal guide, a tool for thinking through program problems, and a communication device that can help you explain your ideas to other people.

this is the question:

1 An Interactive True/False Quiz - Required Assignment

Write an interactive true/false quiz. The program should ask the user three true/false questions about any topic you like. The user should be given n chances to take the quiz, where n is a number given by the user.

The program should keep track of how many questions the user answered correctly (for a single attempt) and should keep track of the attempt number. After each quiz attempt, the program will print out a score.

Your program must meet the following speci cations:

1. Get the number of attempts,n, from the user.

2. Ask three (nicely formatted) true/false questions and give feedback for each question.

3. Track the number of correct answers for each quiz attempt.

4. Track the attempt number.

5. Print out the score (i.e., number correct) for each attempt. Also include the attempt number.

Reference no: EM132082577

Questions Cloud

A visual basic program to calculate the packing of widgets : Need a Solution to this Visual Basic program to calculate the packing of widgets.
Create an output showing a mortgage table for monies : Create an output showing a Mortgage Table for monies you have borrowed. Given the amount of a mortgage, the rate of interest being charged, the monthly payment.
Write a persuasive speech about office parties : You need to write a persuasive speech about office parties. why and how office parties are needed to be part of positive reinforcement in a work place.
What current issue in american politics : What current issue in American politics would you like to see political protests focus on, and what you think would be the most effective strategy
Write the pseudocode to prepare a true-false quiz : Write an interactive true/false quiz. The program should ask the user three true/false questions about any topic you like.
Vote to change state constitutions : Should the process of amending the U.S. Constitution follow a similarly easy process? Or should amending the U.S. Constitution be made more difficult
Patriot act and the homeland security act : How has Congressional legislation such as the Patriot Act and the Homeland Security Act of 2002 shaped the GWOT?
Write a program using plp tool : Write a program using PLP Tool (Progressive Learning Platform) in such that it repeatedly reads the value of the switches (address: 0xf0100000) .
Write a code for in-line assembly that multiply : You need to write a code for in-line assembly x86, that multiply a 32-bit integer with number "2017" without using mul/imul instructions.

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