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

  Challenges for enterprise system integration

State and discuss the challenges legacy systems pose for the enterprise system integration. Give specific examples in order to support your response.

  Create an adt for a two-color and double-stack adt

Create an ADT for a two-color, double-stack ADT that consists of two stacks-one red and one blue-and has as its operations color-coded.

  Write the algorithm for pop in an array-based implementation

Write the algorithm for Pop in an array-based implementation. Write the algorithm for Enque in an array-based implementation.

  Discuss he cannot access any websites on the internet

Rob calls the help desk to report that he cannot access any websites on the Internet. While he is still on the phone, you have him try to access

  Compare rate distortion performances with the one tap case

DPCM-encode the Sinan, Elif, and bookshelf 1 images using a two-tap predictor and a four-level quantizer followed by a Huffman coder.

  Use ftk or winhex to identify

Use FTK or WinHex to identify which files have wrong extension (you need to know the correct file signatures).

  Develop a prototype using a scripting language such as ruby

Develop a prototype using a scripting language, such as Ruby or Python, evaluate this prototype with software engineers and other stakeholders, then review the system requirements. Redevelop the final system using Java.

  What is the expected access time

Given a 64-byte cache block, a 512 KB fully associative cache (assume byte-addressable), and a 32 bit address reference, which bits could be used for tag, index, and offset.

  What signal encoding cables and connectors are used

What signal encoding, cables, and connectors are used? Is the channel serial or parallel? Is transmission synchronous or asynchronous?

  Examine the present options available for use of tcpip and

write a 4-7 page paper including the following analyze the current options available for use of tcpip and osi models

  Determining time complexity

Specify the function of procedure DOES SOMETHING? What is the time complexity of the procedure?

  Create an accessor and mutator function for field age

What is static property? What is the difference between static property and non-static property? You are given a class below, create an accessor and mutator function for field age.

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