Bu'aan kutaa 12ffaa ba'eera; bu'aa kee eessatti akka ilaaltu

Yaadannoo boqonnaa fi gaaffii shaakalaa

Boqonnaa 6 Teeknooloojii Odeeffannoo kutaa 11: Bu'uuraalee Programming

Wanti fuula kana irra jiru hundi boqonnaa 6 kitaaba Teeknooloojii Odeeffannoo kutaa 11 tiif: wanta boqonnaan haguugu, yaadannoo gabaabaa, gaaffii shaakalaa deebii isaanii waliin, fi viidiyoo barnootaa bakka jirutti.

Google Play irraa buufadhaa
3
Kaardii
10
Gaaffii shaakalaa boqonnaa 6

Boqonnaan 6 maal haguuga

  1. 1.Types of Programming Languages
  2. 2.Basics of Python
  3. 3.Variables and Data Types
  4. 4.Statements and Expressions
  5. 5.Writing a Simple Program

Yaadannoo gabaabaa boqonnaa 6

Kaardiiwwan fuula Teeknooloojii Odeeffannoo kutaa 11 irratti boqonnaa kana jala galmaa'an. Tokko tokkoon bani.

Yoom akka itti fayyadamtu

Maqaa jijjiiramaa (variable) Paayitanii yeroo uumtuufi seera qabeessa ta'uu isaa mirkaneeffachuuf itti fayyadami.

Of eeggadhu

Maqaan jijjiiramaa lakkoofsaan jalqabuu hin danda'u, mallattoolee addaa akka & yookiin * qabaachuu hin danda'u, akkasumas jechoota furtuu Paayitanii akka while yookiin if ta'uu hin danda'u.

Grade 11 Information Communication Technology, fuula 132 irraa eegalee irraa qophaa'e; osoo hin ba'in dura yeroo lama mirkanaa'e

Yoom akka itti fayyadamtu

Dogoggora seera barreeffama sagantaa fi dogoggora bu'aa herregaa adda baasuuf itti fayyadami.

Of eeggadhu

Interpreeyitaroonni dogoggora siintaksii battalatti arganii kan dhaaban yoo ta'u, dogoggorri loojikii garuu ergaa dogoggoraa waan hin agarsiifneef bu'aa sakatta'uudhaan qofa adda baafama.

Grade 11 Information Communication Technology, fuula 132 irraa eegalee irraa qophaa'e; osoo hin ba'in dura yeroo lama mirkanaa'e

Yoom akka itti fayyadamtu

Paayitanii keessatti lakkoofsa gabatee cuqqaasaa irraa fudhachuuf yeroo hojjettu itti fayyadami.

Of eeggadhu

Faankishiniin input() yeroo hunda faayila barruu (str) waan deebisuuf, osoo gara int() yookiin float()tti hin jijjiirin herrega irratti hojjechuun rakkoo TypeError fida.

Grade 11 Information Communication Technology, fuula 132 irraa eegalee irraa qophaa'e; osoo hin ba'in dura yeroo lama mirkanaa'e

Gaaffii shaakalaa boqonnaa 6

Gaaffii filannoo 10 boqonnaa kana irratti barreeffaman, tokkoon tokkoon isaanii deebii fi sababa qabu. Deebii banuu dura yaali. Gaaffiin kun Ingiliffaa tiin.

Gaaffii 1

In machine language, which symbols are used to represent instructions, numbers and memory locations?

  1. A.1s and 0s (the binary system)
  2. B.Mnemonics such as ADD and MOV
  3. C.English words
  4. D.Decimal digits from 0 to 9
Deebii fi sababa agarsiisi

Deebii: A 1s and 0s (the binary system)

Sababa

Machine language is a low-level language. Everything in it is written with 1s and 0s, which is the binary system. Mnemonics are used in assembly language, not machine language.

Gaaffii 2

Which software translates assembly language instructions into machine language?

  1. A.Interpreter
  2. B.Compiler
  3. C.Assembler
  4. D.IDLE
Deebii fi sababa agarsiisi

Deebii: C Assembler

Sababa

The textbook says the software that translates assembly language into machine language is called an Assembler. A compiler and an interpreter translate high-level languages, not assembly language.

Gaaffii 3

What does the name IDLE stand for, as used with Python?

  1. A.Integrated Development and Learning Environment
  2. B.Interactive Data Language Editor
  3. C.Internal Desktop Logic Engine
  4. D.Integrated Design and Linking Environment
Deebii fi sababa agarsiisi

Deebii: A Integrated Development and Learning Environment

Sababa

IDLE stands for Integrated Development and Learning Environment. It is the free environment that comes with Python.

Gaaffii 4

A Python script is saved in a file. Which file extension must the script file have?

  1. A..txt
  2. B..py
  3. C..exe
  4. D..doc
Deebii fi sababa agarsiisi

Deebii: B .py

Sababa

The textbook says a file that keeps Python scripts is saved with the .py extension. This is called a script file.

Gaaffii 5

Which of these languages uses an interpreter to translate its programs?

  1. A.C
  2. B.Java
  3. C.Python
  4. D.C#
Deebii fi sababa agarsiisi

Deebii: C Python

Sababa

C, Java and C# use compilers. Python, Perl and Ruby use interpreters. An interpreter translates and runs a program one statement at a time.

Gaaffii 6

A student writes this line to find the area of a circle: area=PI*radius*2. Python runs the program with no error message, but the answer is wrong. What kind of error is this?

  1. A.Syntax error
  2. B.Logic error
  3. C.Identifier error
  4. D.Assembly error
Deebii fi sababa agarsiisi

Deebii: B Logic error

Sababa

The program has no syntax error because it follows the rules of the language. It is a logic error because the formula is wrong. The correct formula is area=PI*radius**2. Interpreters and compilers do not catch logic errors.

Gaaffii 7

Which of these is a valid identifier in Python?

  1. A.1x
  2. B.*_5
  3. C.while
  4. D.area_5
Deebii fi sababa agarsiisi

Deebii: D area_5

Sababa

An identifier must start with a letter or an underscore, and the other characters must be letters, numbers or underscores. area_5 follows these rules. 1x starts with a number, *_5 starts with a character that is not allowed, and while is a keyword.

Gaaffii 8

Which of these is an expression, not a statement?

  1. A.x=5
  2. B.print(x)
  3. C.y=x
  4. D.x+5
Deebii fi sababa agarsiisi

Deebii: D x+5

Sababa

An expression is something the interpreter evaluates to produce a value. x+5 is a complex expression. x=5, y=x and print(x) are statements, because they are instructions the interpreter carries out.

Gaaffii 9

Which expression gives the result 2?

  1. A.5/2
  2. B.5//2
  3. C.5%2
  4. D.2**5
Deebii fi sababa agarsiisi

Deebii: B 5//2

Sababa

The floor division operator // returns only the integer part of the quotient, so 5//2 gives 2. The division operator / gives 2.5. The modulus operator % returns the remainder, which is 1. The exponentiation operator ** gives 32.

Gaaffii 10

Look at this code:

x=5
y=2.5
z=x+y

What is the data type of z?

  1. A.int
  2. B.float
  3. C.str
  4. D.bool
Deebii fi sababa agarsiisi

Deebii: B float

Sababa

Here x is an int and y is a float. Python does the conversion itself, which is called implicit conversion. It converts the smaller type (int) to the larger type (float) so that no data is lost. So z is a float, with the value 7.5.

Appiin boqonnaa kana irratti gaaffii 12 qaba; utuu hojjettuu ni sirreessa. Kan asii jiran 10 jalqabaa ti.

Fuula kitaabaa boqonnaa 6

Kitaaba barataa Teeknooloojii Odeeffannoo kutaa 11 guutuu, PDF bilisaan.

Maxxansa Ministeera Barnootaa, Ingiliffaa, Fuula 170

PDF buufadhaa

Boqonnaa kana appii keessatti shaakali

Temari boqonnaa kana gara shaakala yeroon daangeffametti jijjiira; utuu hojjettuu ni sirreessa; wanti si hin galinis barsiisaa AI tiin ni ibsama.

Bilisaan jalqabi

Temari.et appii Android qaba; Google Play irratti bilisaan argama.

SeeniHerrega kee bani