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.

Advertisements


website counter


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

The following pseudocode has been written to display a series of numbers:

begin
numeric nNum1, nNum2, nNum3, nCounter = 2
nNum1 = 1
nNum2 = 1
display nNum1, nNum2
while nCounter < 10
begin
nNum3 = nNum1 + nNum2
display nNum3
nNum1 = nNum2
nNum2 = nNum3
nCounter = nCounter + 1
end
end

What is the output of the above pseudocode?



Select Answer:

1, 1, 2, 3, 4, 6, 9, 13, 19, 28
1, 1, 2, 3, 5, 8, 13, 21, 34, 55
1, 1, 3, 5, 7, 9, 11, 13, 15, 17
None of the above




      
Your Test Score: 0 / 0



Next Question: Country [7]='Canada' Determine the error in the string declaration.
Previous Question: Consider the pseudocode: Name="Suzy" display "Enter name" accept "Name" display Name Identify the error:
Related Questions:
  • Which of the following statements are true about setLayout() method in java.awt.ScrollPane?


  • After a network breakdown, the hardware problem has been fixed. In addition, the DNS configuration on the client and server computers was found to be correct. Despite this, the DNS server is not providing name resolution service to any client on the same subnet, though other network services are available. Which of the following is the solution to this problem?


  • Which of the following options enables you to break data into smaller blocks and store each block on a separate hard disk?


  • The first movie with terrific computer animation and graphics was released in 1982. What was its name ?


  • Which of the following communications lines is best suited to interactive processing applications?


  • Categories

    Aptitude Test Arithmetic Reasoning General Knowledge - India 
    General Knowledge Computer Basics Physics 
    Mathematics Biology Chemistry 
    English Botany 

    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.


    Contact Us    Privacy Policy    Terms Of Use   

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