Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Funny Pictures MCA Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter


Posted By: Ramkumar       Member Level: Diamond       Posted Date: 12 May 2008       Category: Computer Basics

The following pseudocode has been written to find the average of 5 numbers accepted from the user:

begin
numeric nNum, nTotal = 0, nAverage, nCounter = 1
while nCounter <= 5
begin
accept nNum
nTotal = nTotal + nNum
nCounter = nCounter + 1
end
nAverage = nTotal / 5
display ôAverage of the five numbers is: nAverageô
end

What would be the output if the five numbers entered were: 12, 10, 8, 12, 8



Select Answer:

Average of the five numbers is: 10
Average of the five numbers is: 50
Average of the five numbers is:
Average of the five numbers is: nAverage




      
Your Test Score: 0 / 0



Next Question: Select the correct order of precedence for logical operators
Previous Question: Consider the pseudocode and determine the error. Declare variable ctr Assign the value 1 to ctr While ctr is less than 6 display "The number is:" display ctr ctr is incremented by one
Related Questions:
  • Which of the following denotes a new line character in C program?


  • Identify the correct definition of the term MIME?


  • What will the method in the general class defined as, if that method needs to be implemented by each subclass according to its own need?


  • Internet Layer in TCP/IP is _ _ _ _ _ _ _ _ _ _


  • Mike Womack installs Solaris JumpStart on the JumpStart server for remote installation. Then, he starts installing Solaris on an install client computer. When he runs the boot net - install command at the ok prompt on the install client computer, an error message, panic - boot: Could not mount filesystem, is displayed. Which of the following problems caused the error message?


  • Categories

    Aptitude Test Arithmetic Reasoning General Knowledge - India 
    General Knowledge Computer Basics Physics 
    Mathematics Biology Chemistry 
    English Botany Anatomy 
    Physiology Biochemistry Pharmacology 
    Community medicine Forensic medicine Microbiology 
    Pathology Paediatrics Ophthalmology 
    ENT Obstretics and Gynaecology Surgery 
    Medicine 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.
    Watch TV Channels



    Contact Us    Editors    Privacy Policy    Terms Of Use   

    SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.