Computer Science - 9210 OxfordAQA

Arithmetic Operations In A Programming Language

Muhtasari

A vending machine has 287 cents to give back and a hopper of coins. It cannot hand over 2.87 of anything. It has to work out how many dollars, then how many fifties, then how many twenties, and it does that with two operations that a calculator does not have a button for: whole-number division, and the remainder that whole-number division leaves behind. Almost every time a program has to split a quantity into units, those two do the work.

This lesson covers the five arithmetic operations the specification names: addition, subtraction, multiplication, real division, and integer division including remainders. Four of them behave exactly as they do in mathematics. The fifth is the one that earns marks and solves problems, and the specification devotes its whole additional-information column to explaining it. You will learn what DIV and MOD produce, why the pair of them is usually used together, and the handful of standard tricks that MOD makes possible.

Malengo

  1. Be familiar with and be able to use:
  2. addition
  3. subtraction
  4. multiplication
  5. real division
  6. integer division, including remainders.

Ramani ya mawazo

Mada hii imechorwa ili uone jinsi mawazo yanavyounganika.

Fungua ramani ya mawazo kwenye programu

Maelezo ya Somo

The specification requires you to be familiar with and able to use addition, subtraction, multiplication, real division, and integer division including remainders. The first four hold no surprises: they mean what they mean in arithmetic, and in pseudocode they are written with the ordinary symbols.

Dokezo Kamili la Somo Linapatikana kwenye Programu ya Green Bridge

Pata programu ya Green Bridge CBT kwenye simu au kompyuta yako kwa maktaba kamili ya IGCSE: mitihani ya miaka iliyopita, miongozo ya usahihishaji, ramani za mawazo, kadi za marudio na masomo ya sauti.

Maelezo kamili ya masomo yenye michoro
Msaidizi wa kujifunza wa AI
Mitihani ya majaribio yenye muda, husahihishwa mara umalizapo
Inapatikana kwa Android, Windows, macOS, na Linux Programu ya iOS inakuja hivi karibuni

Tathmini ya Somo

Hongera kwa kukamilisha somo la Arithmetic Operations In A Programming Language. Sasa kwa kuwa umechunguza dhana na mawazo muhimu, ni wakati wa kuweka ujuzi wako kwa mtihani. Sehemu hii inatoa mazoezi mbalimbali maswali yaliyoundwa ili kuimarisha uelewaji wako na kukusaidia kupima ufahamu wako wa nyenzo.

Utakutana na mchanganyiko wa aina mbalimbali za maswali, ikiwemo maswali ya kuchagua jibu sahihi, maswali ya majibu mafupi, na maswali ya insha. Kila swali limebuniwa kwa umakini ili kupima vipengele tofauti vya maarifa yako na ujuzi wa kufikiri kwa makini.

Tumia sehemu hii ya tathmini kama fursa ya kuimarisha uelewa wako wa mada na kubaini maeneo yoyote ambapo unaweza kuhitaji kusoma zaidi. Usikatishwe tamaa na changamoto zozote utakazokutana nazo; badala yake, zitazame kama fursa za kukua na kuboresha.

  1. What is the value of 23 DIV 4? A. 3 B. 5 C. 5.75 D. 6 Answer: B
  2. What is the value of 23 MOD 4? A. 0 B. 1 C. 3 D. 5 Answer: C
  3. Which expression tests whether the integer N is a multiple of 3? A. N DIV 3 = 0 B. N MOD 3 = 0 C. N / 3 = 0 D. 3 MOD N = 0 Answer: B
  4. What is the value of 5 + 10 DIV 5? A. 3 B. 7 C. 11 D. 15 Answer: B
  5. A variable Turn holds 2 and is updated by Turn ← (Turn + 1) MOD 3. What does it hold afterwards? A. 0 B. 1 C. 2 D. 3 Answer: A

Fanyia kazi maswali haya kwenye programu

Fanyia kazi maswali haya kwenye programu

Fanya Mazoezi ya Maswali ya Majaribio

Ungependa kufanya mazoezi ya maswali ya majaribio kuhusu Arithmetic Operations In A Programming Language? Pakua programu ya Green Bridge CBT ili kupata maswali ya majaribio na tathmini kamili za mazoezi kuhusu mada hii.

Pakua Programu Kwenye Google Playstore

Kila kitu unachohitaji ili kufaulu katika JAMB, WAEC & NECO.

Green Bridge CBT Mobile App
Msaidizi wa Gumzo wa Kujifunza wa AI Uliobinafsishwa
Maswali ya mtihani zaidi ya 200,000 ya IGCSE, JAMB, WAEC na NECO
Zaidi ya Madaftari ya Masomo 1200
Msaada Nje ya Mtandao - Jifunze Wakati Wowote, Popote Pale
Ratiba ya Daraja la Kijani
Muhtasari wa Fasihi na Maswali Yanayoweza Kutokea
Fuata Utendaji na Maendeleo Yako
Maelezo ya Kina kwa Kujifunza kwa Kina