Computer Science · Form 2
Computer Science Form 2 (New Curriculum)
Computer Science Form 2 (New Curriculum) kinapatikana kwenye programu ya Let's Study Book kama njia ya hatua kwa hatua ya sura 10 yenye maswali ya mazoezi 160.
Kila sura ina maelezo ya mada (sehemu 48 kwa jumla) ili usome ufafanuzi kabla ya kujaribu majaribio.
- 10 sura
- 48 sehemu za maelezo ya mada
- 160 maswali
Yaliyomo
-
1. The Internet
Majaribio 1 Maswali 16
Maelezo ya mada
- Meaning and history of the Internet
- How the Internet works
- Connecting to the Internet
- Uses and effects of the Internet
- Summary
A computer network links devices to share data and resources; by size: PAN, LAN, MAN, WAN. The Internet is a worldwide network of networks using TCP/IP ; nobody owns all of it. It grew from ARPANET (1969); the World Wide Web was invented around 1989–1991. Intranet = private network of one organisation; extranet =…
-
2. Using Internet services
Majaribio 1 Maswali 16
Maelezo ya mada
- The World Wide Web and web browsers
- Searching for information
- Electronic mail
- Other Internet services
- Summary
The Internet is the network; the World Wide Web is a service of linked web pages (written in HTML) grouped into websites and joined by hyperlinks . A URL has a protocol ( https:// is secure), subdomain, domain name, path and page. A web browser displays pages; its parts include the address bar, back/forward, reload,…
-
3. Cyber security threats and countermeasures
Majaribio 1 Maswali 16
Maelezo ya mada
- The concept of cyber security
- Malware
- Social engineering and online fraud
- Other threats and countermeasures
- Summary
Cyber security protects devices, networks, programs and data from attack, damage, theft and unauthorised access. The CIA triad : confidentiality (only authorised people see data), integrity (data is accurate and not altered), availability (systems work when needed). Key terms: asset , threat , vulnerability , attack ,…
-
4. Cyber ethics, privacy and the law
Majaribio 1 Maswali 16
Maelezo ya mada
- Computer ethics
- Privacy and personal data
- Intellectual property online
- Laws and policies on cyber security
- Summary
Ethics are moral principles of right and wrong; cyber ethics guide how we use computers and the Internet. Principles: do no harm, respect others' files and privacy, be honest, avoid false information, respect property, use resources fairly, give credit, consider consequences, be respectful. Cyberbullying is repeated…
-
5. Staying safe online
Majaribio 1 Maswali 16
Maelezo ya mada
- Strong passwords and authentication
- Safe browsing
- Netiquette and responsible social media use
- Summary
Authentication proves identity using factors: something you know (password, PIN), have (phone, card) or are (biometrics). Weak passwords are short, common or personal. Strong passwords are long, mixed and unique ; passphrases are strong and memorable. Longer passwords give far more possible combinations (e.g. 4-digit…
-
6. Programming languages
Majaribio 1 Maswali 16
Maelezo ya mada
- Meaning of programming and programming languages
- Categories of programming languages
- Programming paradigms
- Generic structure of a program
- Summary
Programming is designing, writing, testing and maintaining programs – instructions in a programming language with exact syntax (rules) and semantics (meaning). Languages share elements: keywords, identifiers, data types, operators, statements, input/output, control structures, comments and functions. Categories:…
-
7. Programming tools and your first program
Majaribio 1 Maswali 16
Maelezo ya mada
- Translators: compilers and interpreters
- Editors, IDEs and debuggers
- Installing and configuring Python
- Writing, running and saving a first program
- Summary
Source code must be translated into machine code by a translator : an assembler (assembly), a compiler (whole program first, makes an executable, runs fast, lists all errors) or an interpreter (one statement at a time, no executable, stops at the first error, needed every time). Python is run by an interpreter (via…
-
8. Variables, data types and operators
Majaribio 1 Maswali 16
Maelezo ya mada
- Variables and constants
- Data types
- Operators and expressions
- Input and output in programs
- Summary
A variable is a named memory location whose value can change; = assigns a value ( age = 14 ). The right side is evaluated first, then stored. Naming rules: letters, digits and underscores only; not starting with a digit; no spaces; case-sensitive; not a keyword. Use meaningful snake_case names. A constant should not…
-
9. Branching in programs
Majaribio 1 Maswali 16
Maelezo ya mada
- Conditions and Boolean expressions
- The if and if–else statements
- Multiple branches and nested if
- Writing programs with branching
- Summary
Branching (selection) lets a program choose what to do based on a condition – a Boolean expression that is True or False . Conditions use relational operators ( == != > < >= <= ) and logical operators ( and , or , not ); Python allows chained comparisons such as 0 <= mark <= 100 . String comparisons are…
-
10. Debugging programs
Majaribio 1 Maswali 16
Maelezo ya mada
- Types of programming errors
- Debugging techniques
- Using a debugger and testing a program
- Summary
A bug is an error in a program; debugging is finding and fixing bugs. Syntax errors break language rules (missing colon, brackets, quotes, misspellings, wrong indentation); the program does not run. Runtime errors (exceptions) stop a running program: ZeroDivisionError, ValueError, NameError, TypeError, IndexError,…
Jinsi ya kusoma kitabu hiki kwenye programu
- 1
Pakua Let's Study Book kutoka Google Play na ufungue akaunti bure.
- 2
Tafuta “Computer Science Form 2 (New Curriculum)” maktabani na ukiongeze kwenye vitabu vyako.
- 3
Fungua sura ya kwanza, soma maelezo ya mada na ufanye jaribio — majibu yanakaguliwa papo hapo.
- 4
Hifadhi swali lolote usiloweza kutatua kwenye Daftari la Maswali na urudi kwalo baadaye.
Vitabu vingine kama hiki
Kitabu chako kinakusubiri. Anza leo.
Ni bure kupakua. Inafanya kazi kwenye simu na tableti za Android.