True BASIC Review Practice Questions. Which of these are valid variable names? jimbo 5tars st4rs star5 st4r5 5t4r5 star$ st4r$ 5tar$ $tar5 string$s strings.

Slides:



Advertisements
Similar presentations
» PHP arrays are lists of values stored in key-value pairs. » Uses of arrays: Many built-in PHP environment variables. Database functions use arrays.
Advertisements

Unit 6 Do you like bananas? Section A 1a-1c 1. apple apples A:Do you like /la ɪ k/ apples? B:Yes,I do.I like apples. / No,I dont. I dont like apples.
Whats your favorite color? a pear a green pear.
2014 Fall Make. R Regimental Commander: 1/c Hoburg Regimental Staff Fall 2014.
Standard Algorithms Find the highest number. ! Your name and today’s date ! Find the maximum Dim numbers(20) As Integer.
Def f(n): if (n == 0): return else: print(“*”) return f(n-1) f(3)
True BASIC Ch. 9 Practice Questions. What are the 4 errors? DIM arr(4) FOR X = 1 TO 4 READ arr(X) LET arr(X) = arr(X) * X PRINT What is the new Y INPUT.
CSCI 51 Introduction to Programming Dr. Joshua Stough February 10, 2009.
Introducing yourself and others. Imagine you are in a trade fair, you have to contact as many people as you can. How are you going to do it? Hi! Let me.
222 Sqn Comms Training Phonetic Alphabet Self Test Select Button to Start.
11 © Chris Snuggs27 March, 2012 Self-testing Practice – The International Alphabet.
COMP 14 Introduction to Programming Miguel A. Otaduy May 18, 2004.
1 Chapter 6 Repetition. 2 Outline & Objectives Loop Structure Loop Structure Elements of a Loop Structure Elements of a Loop Structure Processing Lists.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Adrian Ilie COMP 14 Introduction to Programming Adrian Ilie June 30, 2005.
Vegetables  lettuce  leek  potato  carrot  pepper  courgette, zucchini  tomato  aubergine, eggplant.
Radio CI Pesto. Topics this class Radio Communication Facilities Phonetic Alphabet Aircraft Call Signs Time Standard Phrases Priority of Communication.
Semaphore Training HARLAN R. DICKSON DIVISION. U. S. Naval Sea Cadet CorpsCOMPASS :: What is Semaphore? Semaphore is a method.
Air Cadet Radio Training Welcome to this self teach package. It has been produced for use within the Air Cadet Organisation and must not be published elsewhere.
Student’s Book. Unit 3 A Passive
Session Three Review & Conditional Control Flow. Java File Hierarchy Projects Packages Classes Methods.
Инвестиционный паспорт Муниципального образования «Целинский район»
CS Group Project Kickoff 2011 Alan Blackwell. Allocated project topics Preferences for topics were considered. There were no guarantees - you may not.
Last Week if statement print statement input builtin function strings and methods for loop.
(x – 8) (x + 8) = 0 x – 8 = 0 x + 8 = x = 8 x = (x + 5) (x + 2) = 0 x + 5 = 0 x + 2 = x = - 5 x = - 2.
Explore the NATO phonetic alphabet.
Vegetables  lettuce  leek  potato  carrot  pepper  courgette  tomato  aubergine.
Sending Semaphore Trainer Norman Young KA4PUV. How to Use this Trainer It is easy enough to learn to recognize a semaphore signal, but when you send the.
ICT Introduction to Programming Chapter 4 – Control Structures I.
3 rd Class Communications Phonetic Alphabet OC6.
Phonetic Alphabet. Why use Phonetic -The alphabet is used to spell out parts of a message containing letters and numbers to avoid confusion. -Many letters.
The Phonetic Alphabet L.O. – To be able to execute a game of exercise hangman over the radio.
Times Tables 1 x 1=. Times Tables 1 x 2= Times Tables 1 x 3=
BASIC FORMS OF COMMUNICATION THE PHONETIC ALPHABET.
照片档案整理 一、照片档案的含义 二、照片档案的归档范围 三、 卷内照片的分类、组卷、排序与编号 四、填写照片档案说明 五、照片档案编目及封面、备考填写 六、数码照片整理方法 七、照片档案的保管与保护.
공무원연금관리공단 광주지부 공무원대부등 공적연금 연계제도 공무원연금관리공단 광주지부. 공적연금 연계제도 국민연금과 직역연금 ( 공무원 / 사학 / 군인 / 별정우체국 ) 간의 연계가 이루어지지 않고 있 어 공적연금의 사각지대가 발생해 노후생활안정 달성 미흡 연계제도 시행전.
Жюль Верн ( ). Я мальчиком мечтал, читая Жюля Верна, Что тени вымысла плоть обретут для нас; Что поплывет судно громадней «Грейт Истерна»; Что.
PHONETIC ALPHABET. A  ALPHA  AL*FAH B  BRAVO  BRA*VO.
CMSC201 Computer Science I for Majors Lecture 23 – Algorithms and Analysis Prof. Katherine Gibson Based on slides from previous iterations.
Positive and Negative Integers on a Number Line
Session Three Review & Conditional Control Flow. Java File Hierarchy Projects Packages Classes Methods.
Chapter 7 Communications
ARES/RACES.
AMATEUR RADIO TRAINING
AMATEUR RADIO TRAINING
AFJROTC Group Picture.
I like fruit..
COMP 14 Introduction to Programming
Introducing yourself and others
CMSC201 Computer Science I for Majors Lecture 22 – Searching
Air Cadet Radio Training
Air Cadet Radio Training
Mastery - fractions Sam and Tom share the fruit equally. There 4 apples, 10 oranges, 6 pears and 1 banana. How many of each fruit do they receive? Fill.
I like fruit..
I Like… Yes, I do. No, I don’t.
Patterns to KNOW.
Personal Qualification Standard – Part 2
PL & APL Training.
Terminal Learning Objective
Terminal Learning Objective
Bingo! Bingo! Bingo! Bingo!.
Spin the wheel and click the right word
BRAVO SEARCHES COMPLETED ON 11 AUG 08
Presented by, Mr. Satish Pise
Colours and Fruit.
Algebra EquationsJeopardy
Solving Systems by Substitution
The ITU Phonetic Alphabet
ArrayLists Readings: 10.1 (pg. 559 – 571).
Fruit Salad Shapes.
Fruit Salad Shapes.
Presentation transcript:

True BASIC Review Practice Questions

Which of these are valid variable names? jimbo 5tars st4rs star5 st4r5 5t4r5 star$ st4r$ 5tar$ $tar5 string$s strings nums nums$ phone# phone_number #ofphones number_of_phones will&tell completion%

Which of these are valid variable names? jimbo 5tars st4rs star5 st4r5 5t4r5 star$ st4r$ 5tar$ $tar5 string$s strings nums nums$ phone# phone_number #ofphones number_of_phones will&tell completion%

What is the output of this program? DATA 1, 2 READ X DATA 3, 4 READ Y DATA 5, 6 PRINT "X=";X PRINT "Y=";Y PRINT READ X, Y DATA 7, 8 PRINT "X=";X PRINT "Y=";Y END

What is the output of this program? DATA 1, 2 READ X DATA 3, 4 READ Y DATA 5, 6 PRINT "X=";X PRINT "Y=";Y PRINT READ X, Y DATA 7, 8 PRINT "X=";X PRINT "Y=";Y END OUTPUT X= 1 Y= 2 X= 3 Y= 4

What is the output of this program? FOR X = 1 TO 5 SELECT CASE X CASE IS < 1 PRINT "banana" CASE 1 TO 2 PRINT "apple" CASE 1 TO 3 PRINT "pear" CASE 3,5 PRINT "orange" CASE ELSE PRINT "kiwi" END SELECT NEXT X END

What is the output of this program? FOR X = 1 TO 5 SELECT CASE X CASE IS < 1 PRINT "banana" CASE 1 TO 2 PRINT "apple" CASE 1 TO 3 PRINT "pear" CASE 3,5 PRINT "orange" CASE ELSE PRINT "kiwi" END SELECT NEXT X END OUTPUT apple pear kiwi orange

What is the output of this program? LET string$ = "a" LET num = 4 IF(num < 4) THEN PRINT "A" ELSE PRINT "B" IF(string$ <> "a") THEN PRINT "C" ELSEIF(string$ <> "b") THEN PRINT "D" ELSEIF(string$ <> "c") THEN PRINT "E" ELSE PRINT "F" END IF END

What is the output of this program? LET string$ = "a" LET num = 4 IF(num < 4) THEN PRINT "A" ELSE PRINT "B" IF(string$ <> "a") THEN PRINT "C" ELSEIF(string$ <> "b") THEN PRINT "D" ELSEIF(string$ <> "c") THEN PRINT "E" ELSE PRINT "F" END IF END OUTPUT B D

What is the output of this program? LET X = 1 PRINT "a ";X FOR X = 5 TO 10 STEP 2 PRINT "b ";X NEXT X PRINT "c ";X LET X = 3 DO PRINT "d ";X LOOP UNTIL X < 5 END

What is the output of this program? LET X = 1 PRINT "a ";X FOR X = 5 TO 10 STEP 2 PRINT "b ";X NEXT X PRINT "c ";X LET X = 3 DO PRINT "d ";X LOOP UNTIL X < 5 END OUTPUT a 1 b 5 b 7 b 9 c 11 d 3

What is the output of this program? DATA "alpha", "bravo", "charlie", "delta", "echo" DATA "foxtrot", "golf", "hotel", "india", "juliet" DIM phonetic$(26) FOR J = 1 TO 10 READ phonetic$(J) NEXT J FOR J = 5 TO 1 STEP -1 PRINT phonetic$(INT(J/2)+1) NEXT J END

What is the output of this program? DATA "alpha", "bravo", "charlie", "delta", "echo" DATA "foxtrot", "golf", "hotel", "india", "juliet" DIM phonetic$(26) FOR J = 1 TO 10 READ phonetic$(J) NEXT J FOR J = 5 TO 1 STEP -1 PRINT phonetic$(INT(J/2)+1) NEXT J END OUTPUT charlie bravo alpha