Let's laugh - compulsory testing program for 11th grade students in the subject Computer Science (questions 15-20).

Oberon #05
Question 15. Robot performer  on the cage
This field understands the following commands:      
                                          
take N steps                           
turn right 90 degrees            
                                          
Write a program that would allow
robot  to go around  a rectangle around the perimeter
                                          
                                          
1. possible for any rectangle     
2. possible  only if the size is known
 rectangles in robot steps          
3. impossible with any rectangles
4. possible  only if  perimeter
 rectangle is a multiple of 360              
5. perhaps only if  width and length
 rectangles are multiples of 90               
                                          
                                          
                                          
                                          
Correct  answer ⁿ2. This requires pro-
conduct  some modeling and figure out
what can a performer who has
the above  set  of commands,  on
options presented in the answers are directly
Golnikov,  in  this case  the robot can
take the specified number of steps in the desired direction
direction. Thus, knowing the dimensions
rectangle and the initial position of the robot
Yes, you can set the rotation sequence
mouths  and necessary number of steps for the robot
solved the specified problem.                   
                                          
                                          
Question 16. A conditional operator is given.         
                                          
If (Sun = 'village') og (run = 'running')       
                         then b=0 else b=1
                                          
The variable b will be equal to 0.               
                                          
1. only if Sun = 'village' and run <>'running'
2. only if Sun = 'village' and run = 'running' 
3. when at least one of the conditions is fulfilled 
 viy run ='going' or Sun = 'village'       
4. under no circumstances                  
5. only if run = 'running' and
 Sun<>0                                 
                                          
The correct answer is ⁿ3.b=0 when performing the
love,  and b=1 if not satisfied. Condition
consists of two simple equality conditions,
connected  logical  link  og  (or).
Thus, to execute the operator b=0
it is enough  to do  although one of
equalities Sun = 'village' or run = 'running'    
                                          
Question 17.  It is known,  that  both inscriptions on
doors  either true or false at the same time
exactly.  If inscription  on  first  door -
~Treasure  behind  other  door no", to the second
doors  - "There is a treasure behind this door, and behind
the other is not", then                         
                                          
1. treasures behind both doors                
2. the treasure is just behind the first door           
3. the treasure is just behind the second door           
4. no treasurebehind no door           
5. The exact location of the treasure cannot be determined    
                                          
Correct  answer  ⁿ1,   so as soon as in
In this case case both  statements are false. In
all other answer options (2, 3, 4)
the condition that both inscriptions are either false,
or both are true, does not hold. Conclusion
o  that definitely set the location
treasure  is impossible, we could conclude that
if this condition were fulfilled in
two and more different positions
treasures.                                   
                                          
Question 18. On one island, women in different
speaking  they always mention the weather, men
-  o transport,  a if two occur
relative,  then  they  both express their
feelings are very  violent: crying, laughing or
faint or scream loudly.       
Based on the dialogue:                     
                                          
Muga (with expression): The wind is blowing on the sea!
Puga (very trying): And the boat is getting ready
yay!                                     
                                          
                                          
Set  family connections and gender of the person
press.                                    
                                          
1. Muga is a man, Puga is a woman. They don't 
 relatives                           
2. Muga and Puga men and relatives     
3. Puga is a man, Muga is a woman. They don't 
 relatives                           
4. Muga and Puga women and relatives     
5. Muga is a man, Puga is a woman. They    
   relatives                           
                                          
                                          
                                          
Correct   answer   ⁿ3.  Turning  not
relatives- they do not express emotions
but... Muga woman - mentions about the weather, and
Puga-man - mentions transport.    
                                          
Next  follows  two classic tasks on
mathematical  and logical fundamentals of coding
formation of information which are given in
one or other modifications almost in
all computer science textbooks.               
                                          
Question 19. When guessing an integer, the idea is
In the  range from 1 to 100 you can set
ask questions to which you receive from-
Vet "yes" or "no".                       
                                          
To be sure to guess the number, the minimum
the required number of questions will be          
                                          
        1. 1 3. 7 5. 9        
        2. 100  4. 8                  
                                          
Correct answer ⁿ3.                      
                                          
Question 20.  Out of nine coins, one is counterfeit
vaya. It differs from others more severely
light weight. It can be determined by weighing
sewing on pharmaceutical scales. Minimum
the required number of weighings will be       
                                          
1. 3                                      
2. 7                                      
3. 2                                      
4. 5                                      
5. 8Correct answer ⁿ1.                      
                                          
                                          
To answer the next 10 questions you need
we need  to have  an idea about the work though
in one of the programming languages.    
                                          
                                          
Question 21.  The program  is written in languages
BASIC, Pascal and algorithmic language.
To set variable B to A+10
you need to write                            
                                          
         BASIC  Pascal,          
                   algorithmic language   
                                          
       1. A+10=B 1. A+10:=В        
       2. В:A+В         2. В=A+10         
       3. В=A+10        3. В:=A+10        
       4. В=A+В         4. В:=A+В         
       5. A=В+10        5. A:=В+10        
                                          
                                          
Правильный ответ ⁿ4.                      
                                          
Вопрос 22.  Известно, что  значением цело-
численной  табличной величины а[1:4] явля-
ется четвёрка чисел(12,6,8,3).  а[1] равно
                                          
                                          
1. 6                                      
2. 3                                      
3. 12                                     
4. 1                                      
5. 8                                      
                                          
Correct answer ⁿ3. You should look at
textbooks section on tabular values.   
                                          
Question 23. Given a program                 
                                          
                  х:=6                    
                  х:=х+5                  
                  output x                 
                                          
The result will be printed             
                                          
          1. 3  3. 5  5. 5          
          2. 6  4. 11                  
                                          
Correct answer ⁿ4.                      
                                          
                                          
                                          
Question 24.  The program  is written in languages
BASIC, Pascal and algorithmic language. B
these conditions algebraic expression
(13b+53c+d):(7a+4) has the form              
                                          
                                          
1. (13*b+53*c+d)/((7*a+4)                 
2. (13*b+53*c+d)/(7*a+4)                  
3. (13*b+53*c+d)/7-а+4)                   
4. (13*b4-53*c+d)/((7a)+4) 5. (13b+53c+d)/(7a+4)                     
                                          
                                          
Correct  answer ⁿ2.  For correct
veta on this  question you need to know the rules
recording  algebraic expressions in languages
programming.                         
                                          
                                          
                                          
Question 25. Given  loop statement written
in language:                                 
                                          
   Pascal  BASIC         
                                          
for i:=1 then 10 do  10 FOR i=1 ТО 10  
begin                   20 а=а*12         
а:=а*12:                30 PRINT а+i,i    
writeln(а+i,i):         40 NEXT i         
end:                                      
                                          
                                          
Последнее  значение  i , выведенное на эк-
ран, будет                                
                                          
1. 10                                     
2. 1                                      
3. 120                                    
4. 12                                     
5. 100 Correct  answer ⁿ1. The task to use
introduction of the  loop operator. Please note
why only the value of the variables is asked -
loop                                 
                                          
Question 26.  Given   an array   of numbers
(1,2,4,2,9,6,11,8,0). If the program is written
sana in BASIC or Pascal, then number
number of calls to the array to increase everything
its elements by 2, equal                  
                                          
1. 4                                      
2. 1                                      
3. 2                                      
4. 10                                     
5. 9                                      
                                          
The correct answer is ⁿ5. To increase the value
reading  elements array  in in these languages,
should be addressed to each element of the array
va                                        
                                          
Question 27.  Given a fragment of a program written
written in BASIC, PASCAL and pseudo-languages
code.                                     
                                          
Basic:                                    
                                          
10 INPUT "Enter your password, Cheburashka" :pasw
20 IF pasw<>"NOT_MOPU_3HATb" THEN GOTO 100 
30 PRINT "WELCOME TO THE PROGRAM"   
...                                       
100 END                                   
                                          
Pascal:                                   
                                          
wnteln('Введите пароль, Чебурашка':,      
readln(pasw):                             
if pasw='НЕ_МОПУ_3HATb' then              
begin                                     
writeln('ДОБРО ПОЖАЛОВАТь В ПРОПРАММУ'):  
...                                       
end:                                      
end.                                      
                                          
Псевдокод:                                
вывод "Введите пароль, Чебурашка"         
ввод pasw                                 
если pasw='НЕ_МОПУ_3HATb' то              
   вывод "добро пожаловать в программу"   
   ...                                    
all                                       
                                          
For the program to continue the dialogue, it is necessary
Please enter the following line of text       
                                          
1. NOT_MOPU_3HATb                          
2. SYSTEM                                 
3. NOT MOPU 3HATb                          
4. Cheburashka                              
5. pasw                                   
                                          
(you can be  FUX,  VAV, RST#7,
Flying,  Scratcher or  on  extreme
just  ALK, butyou'll never be able to
answer this question correctly!)       
Correct answer ⁿ 4. In this question you need
go  : 1. Distinguish between the concept of "process" and
concept "operator" 2. Look carefully
What happens at  execution
programs (here are the things.... :(  )      
                                          
Question 28. Given the program text written
in Basic, Pascal and pseudocode.     
                                          
Basic:                                    
10 a=11                                   
20 a=a+1                                  
30 print "Wait for response"                   
40 if a>10then goto 20                   
                                          
Pascal:                                   
а:=11:                                    
While а>10 do                             
begin                                     
а:=а+1:                                   
writeln('Ждите ответа'):                  
end:                                      
Псевдокод:                                
а:=11                                     
начало цикла пока а>10                    
а:=а+1                                    
вывод "Ждите ответа"                      
конец цикла                               
                                          
Select the spelling that suits you best
It’s more understandable.  The process implemented by this
algorithm is called                    
                                          
1. Loop operator                         
2. Printing                        
3. Transition by condition                     
4. Looping (DI:HALT)                 
5. Organization of the user interface 
 (in Windows this is exactly how everything is done!)  
The correct answer is ⁿ4. In this question you need
we need to  : 1. Distinguish between the concept of “process” and
concept "operator" 2. Look carefully
Let's look at  what happens when the program is executed
frames.                                    
                                          
Question 29. The operating system is     
                                          
                                          
1. programs to keep your computer running
 on state                   
2. Norton Commander                       
3. MS DOS (Microsoft OR death (c) M.M.A)
4. system  of programs that allows you to read, 
 edit text files and insert
 put graphic information in them      
5. system of programs necessary for organiza-
 unitization of the work of all tasks and distribution
 resources.                          
                                          
Correct  answer  ⁿ5.  Here you need
knowledge  at the  level of definitions. Necessary
do not rush to mark answers with the phrase -
concepts  that seem to you familiar, but
think about which answer is most appropriate
corresponds to the statement.                    
                                          
The following  two  questions require the simplest
skills in working with NC                       
                                          
      (cult question number two!)       
Question 30.   Running  program  Norton
Commander.  On  screen  we see only the left
panel. This means that                   
                                          
1. The computer does not work                  
2. the right panel in the NC menu is disabled      
3. the program runs with half the resources
 ^^^^^^^^^^^^^^^^^^^
 multi-task Norton :-)))
4. Monitor does not work                    
5. The command line was entered incorrectly   
                                          
Correct answer ⁿ2. (no comments)  
                                          
Question 31. To copy the FILE.TXT file
from the LEFT directory to the RIGHT directory using
NC, you need                                 
                                          
                                          
1. write COPY on the command line and 
press ENTER                          
                                          
2. open  directory LEFT on the left  panel,
 catalog  RIGHT on the right panel, placed
 move the cursor to FILE.TXT and press the key
 shu F5                                  
                                          
3. open  directory LEFT on the left  panel,
 catalog  RIGHT on the right panel, placed
 Move the cursor to  RIGHT directory and click
 F5 key                             
                                          
4. click on the left arrow               
                                          
5. open  directory LEFT on the left  panel,
 catalog  RIGHT on the right panel, placed
 move the cursor to FILE.TXT and press the key
 shu F7                                  
                                          
Correct answer ⁿ2.                      
                                          
Question 32.  In  electronic  row table
are named as follows                             
                                          
1. A, B, C, ...Z,AA.                      
2. 1,2,3,..                               
3. RANDOM 4. from right to left                          
5. bottom to top                            
                                          
Correct  answer  ⁿ2.  To answer this
question requires minimal familiarity with
any spreadsheet.               
                                          
Question 33.  Base student data looks like
like this:                                      
                                          
  Full name  Class  Address  School Grade   
 Furkina.A   10  Ufa  29    5      
                                          
Количество полей в этой базе данных       
                                          
                                          
1. 10                                     
2. 1                                      
3. 0                                      
4. 5                                      
5. 2                                      
                                          
Правильный  ответ  ⁿ4.  Для ответа на этот
вопрос необходимо минимальное знакомство о
любой базой данных или хотя бы теоретичес-
кие  представления об их назначении и воз-
можностях. ******************************************
                                          
             КОНТРОЛьНЫЙ ТЕСТ             
                                          
******************************************
                                          
Вопрос 1. В 5 килобайтах                  
                                          
1. 5000 байт                              
2. 5120 байт                              
3. 500 байт                               
4. 5000 бит                               
5. 5120 бит                               
                                          
Question 2. A certain performer enters 0
or 1 in each of those at his disposal
Generating  4 cells.  Number of characters,
which can be encoded in this way,
equals                                     
                                          
1. 1 3. 4   5. 16                
2. 2 4. 15                          
Question 3. Text given:                      
                                          
  You can't weave bast shoes without measure.  
The cursor is located at the beginning of the line. To
it is necessary to remove unnecessary Latin letters 
1. Press the Delete key 44 times       
                                          
2. Click on the right arrow 11 times and      
    press the Delete key 9 times        
                                          
3. Press the BackSpace key 20 times.    
                                          
4. Click on the right arrow 12 times and      
    press the BackSpace key 7 times     
                                          
5. Click on the left arrow 40 times and       
    press the BackSpace key 8 times     
                                          
                                          
Question 4. To insert a line into a text
in the editor, you need to click on            
                                          
1. down arrow                           
2. up arrow                          
3. ENTER key                          
4. Caps Lock key (UPPER CASE)    
5. INSERT key               
                                          
Question 5. Octal  number system
different from hexadecimal:          
                                          
1. nesting depth of operations             
2. area of existence                 
3. number   of actions  on the number in
 second                                
4. number of digits used to record
 si numbers.                              
5. degree of computerization (uh...)      
                                          
                                          
Question 6. Decimal number 3  in binary
the number system is written as        
                                          
                                          
1. 0011                                   
2. 1010                                   
3. 1103                                   
4. 1001                                   
5. 0111                                   
                                          
Question 7.  Sum binary  numbers 111011+ 
101010 is equal                              
                                          
1. 1100101 2. 1010011                                
3. 0111011                                
4. 0101100                                
5. 1100110                                
                                          
Question 8. The decimal number 42 looks like
52 in the number system                    
                                          
1. binary                               
2. octal                           
3. hexadecimal                      
4. non-positional                          
5. duodecimal                       
                                          
Question 9. A 3.5-inch floppy disk is         
                                          
1. hard drive in a personal computer Notebook type                          
                                          
2. floppy disk that fits 3.5 inches
 information ( or 16 meters :) )        
                                          
3. floppy drive                               
                                          
4. flexible  disk size approximately 9 
 centimeters                            
                                          
5. floppy disk approximately 3.5 in size
 centimeter                             
                                          
                                          
Question 10. The statement is correct             
                                          
                                          
1. Printer - input/output device      
2. CD-ROM - output device             
3. CD - storage device 
 information                             
4. Keyboard - input/output device   
5. Monitor - input device             
                                          
                                          
                                          
Question 11. The algorithm is called linear   
                                          
1. counting the length of an object    
2. sequentially  doing the same thing 
 same action                            
3. not containing branches and cycles       
4. written in basic              
5. not accessing procedures           
6. алгоритм, рисующий линии :)            
                                          
                                          
                                          
                                          
Вопрос 12. Дана блок-схема алгоритма      
                                          
                 ┌-----┐                  
                 │а=c+1│                  
                 └--┬--┘                  
                    │<---------------┐    
                   /                  
                  /     нет ┌-----┐ │    
                 /а=100---->│а=а*2├-┘    
                      /     └-----┘      
                     /                   
                    /                    
                    │да                   
               ┌----┴----┐                
               │печать а │                
               └---------┘                
                                          
                                          
                                          
Значение а будет зависеть от              
                                          
                                          
1. количества шагов цикла                 
2. правильности написания программы       
3. значения c                             
4. быстродействия компьютера              
5. способа задания переменной а          
                                          
                                          
Question 13. A certain performer can only
add and subtract whole numbers, having
limited memory. With its help, production
drive  division and multiplication with limited
accuracy                                 
                                          
1. perhaps only if amplified by others 
 performer, able to logarithm 
2. impossible  neither  under  what circumstances 
 stvah.                                 
3. perhaps                               
4. Partially possible, only multiplication.   
5. perhaps partially, only division.     
                                          
                                          
Question 14. A conditional operator is given:         
                                          
If (Sun = 'village') og (run='running')         
                         then b=0 else b=1
                                          
The variable b will be equal to 0                
                                          
1. only if Sun = 'village' and run<>'running' 
2. only  under the condition that run='running', and 
 sun<>0                                 
3. only if both Sun='village' and run='running'  
4. when at least one of the conditions is fulfilled 
 viy run='running' or sun='village'          
5. under no circumstancesQuestion 15. It is known that  on  single door
the inscription is true,  and on the other it is false. If
the inscription on the first door - "3a by this door
there is treasure", on second doors - "Treasure for
both doors", then                       
                                          
1. treasures behind both doors                
2. the treasure is just behind the second door           
3. there is no treasure behind any door           
4. the treasure is just behind the first door           
5. definitely  place  treasure set  
                                    impossible
                                          
Question 16. On one island, women in different
speaking  they always mention the weather, men
-  o transport,  a if two occur
relative,  then  they  both express their
feelings are very  violent: crying, laughing or
faint, or scream loudly       
                                          
Based on the dialogue:                     
                                          
Muga (with expression):The wind is blowing on the sea!
Puga (very trying): And the boat is prepared
yay!                                     
                                          
set  family ties and gender
press.                                    
                                          
1. Muga and Puga men and relatives     
2. Puga is a man, Muga is a woman         
   They are not related                    
3. Muga - man, Puga - woman         
   They are not related                    
4. Muga - man, Puga - woman         
   They are relatives                       
5. Muga and Puga - women and relatives   
                                          
Question 17. When guessing an integer, the idea is
in the range from 1 to 100, possiblepush
questions on which  You  get the answer
"yes" or  "no". To be sure to guess
number, the minimum required number of questions
there will be owls                                 
                                          
1. 1                                      
2. 7                                      
3. 8                                      
4. 10                                     
5. 9                                      
Question 18. Given the program text written
in Basic, Pascal and Pseudocode.     
Basic:                                    
10 a=11                                   
20 а=а+1                                  
20 print "Ждите ответа"                   
40 if а>10 then goto 20                   
                                          
Pascal:                                   
а:=11:                                    
while а>10 do                             
begin                                     
а:=а+1:                                   
writeln('Ждите ответа'):                  
end:                                      
                                          
Псевдокод:                                
а:=11                                     
начало цикла пока а>10                    
а:=а+1 output "Wait for response"                      
end of cycle                               
Select the spelling that suits you best
It’s more understandable.  The process implemented by this
the algorithm is called                     
                                          
1. Loop operator                         
2. Transition by condition                     
3. Printing                        
4. Organization of the user interface 
5. Looping                           
                                          
Question 19. The operating system is     
                                          
1. Norton Commander                       
2. system  of programs that allows you to read, 
 edit text files and insert
 put graphic information in them      
3. system of programs necessary for organiza-
 unitization of the work of all tasks and distribution
 resources                           
4. MS DOS                                 
5. programs to keep your computer running
 on state                   
                                          
Question 20. Runned  program Norton
Commander.At the top of the right panel we see
inscription C:CATALOG1. To go to the cor-
new directory on this panel, you must: 
                                          
1. call a specialist                    
   ^^^^^^^^^^^^^^^^^^^ - Lamers Must Die:)
                                          
2. restart the computer (three fingers!)  
3. press the ENTER key twice       
4. print the word "EXIT"                
5. place the cursor at the beginning of the directory on 
 sign ".." and press the ENTER key    
                                          
Have you thought? Now fill in the
those answer area.                       
-═════════════ -
 * * * * * 

Share your thoughts about the article