Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Funny Photos B.Tech 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

Consider the pseudocode:
Name="Suzy"
display "Enter name"
accept "Name"
display Name
Identify the error:



Select Answer:

Variable Name already has a value therefore, another value cannot be assigned to it.
The statement Name="Suzy" does not store the value in the variable because it is specified in double quotes.
The statement accept "Name" is incorrect. Name should not be in double quotes.
The last display statement should have been written as display "Name" to display the value of the variable.




      
Your Test Score: 0 / 0



Next Question: 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?
Previous Question: 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 How many times would the while loop get executed if in the declaration statement, the variable nCounter was initialized to 20 instead of 2?
Related Questions:
  • _____ codes redundancy into the data stream and helps to reconstruct the original data in case of transmission errors


  • _ _ _ _ _ _ _ _ _ _system is used for ground based radio broadcasting


  • Predict the output for the given code. main(){ int *p, sum=0, i=0; static int x[5]={5,9,6,3,7}; p=x; while(i<5){ sum = sum + *p; i++, p++; } printf("%d\n",sum); }


  • Dedicated server configuration is


  • What is the Boolean value of a false statement resulting in a C program?


  • 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    Privacy Policy    Terms Of Use   

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