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

Identify the error in the pseudocode:
Declare variable ctr
Declare Num of size [3]
Assign 10 to Num [0]
Assign 20 to Num [1]
Assign 30 to Num [2]
Assign '\0' to Num [3]
For ctr initialized to 0
display Num [ctr]
Ctr is incremented by one
display Num[ctr]



Select Answer:

You cannot assign a value to Num [0].
'\0' is an invalid assignment to Num [3].
There is no check statement to determine whether there are more elements in the array or not
Subscript cannot be referred by a variable




      
Your Test Score: 0 / 0



Next Question: How do main programs address the subprograms
Previous Question: Country [7]='Canada' Determine the error in the string declaration.
Related Questions:
  • Select the odd one out a. SQL b. DB2 c. SYBASE d. HTTP


  • In source routing bridges each LAN has a unique _ _ _ _ _ _ bit no.


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


  • The following pseudocode has been written to find the largest of 10 numbers: begin numeric nNum, nNumLargest, nCounter = 1 accept nNum nNumLargest = nNum while nCounter < 10 begin accept nNum if nNum > nNumLargest begin nNumLargest = nNum end nCounter = nCounter + 1 end display ôThe largest of the ten numbers entered is: ô, nNumLargest end How many numbers will be accepted if the statement while nCounter < 10 is altered to while nCounter <= 10?


  • Identify the correct sequence of steps for setting an encryption level. Step 1: Select the Properties command from the Action menu. Step 2: Select Terminal Services Configuration command. Step 3: Select the RDP-Tcp option. Step 4: Accesses the Administrative Tools menu.


  • 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 

    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
  • Watch Asianet TV online
  • Kairali TV in Internet
  • Surya TV online
  • Amritha TV Channel

  • Contact Us    Privacy Policy    Terms Of Use   

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