WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts

2022 WAEC Computer Studies Theory A palindrome is a word which can be written in reversed order and it retains...

Computer Studies
WAEC 2022

A palindrome is a word which can be written in reversed order and it retains its meaning and spelling,Examples are lawal,ada,abba,etc

Write a simple QBASIC instruction that will accept a word from the keyboard and check if it is a palindrome or not. The palindrome must display a message showing if the word is palindrome or not.

WAEC and NECO CBT App for Mobile Devices - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Post UTME Past Questions Agent
Explanation

CLS

INPUT-ENTERANY:";S$

For l =LEN(S$) TO 1STEP-1

     B$=MID$(S$,L,1)

     W$=W$+B$

 Next l

IF S$=W$ THEN

     PRINT " it is palindrome"

ELSE

      PRINT "It is not palindrome

END IF

END


Report an Error Ask A Question Download App
Post UTME Past Questions Agent
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Your School's Whatsapp Group - Join Us now

Contributions ({{ comment_count }})

Please wait...

{{ settings.no_comment_msg ? settings.no_comment_msg : 'There are no comments' }}

Quick Questions

Post your Contribution

Please don't post or ask to join a "Group" or "Whatsapp Group" as a comment. It will be deleted. To join or start a group, please click here

{{ quote.posted_by.display_name }}
{{ settings.form_textarea_description }}
 
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Your School's Whatsapp Group - Join Us now
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
WAEC and NECO CBT App for Mobile Devices - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Post UTME Past Questions Agent
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Your School's Whatsapp Group - Join Us now
Post UTME Past Questions Agent
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts