Friday, July 27, 2012


Mtewele bookshop ni wauzaji wa vitabu mkoani Iringa , jipatie vitabu vya aina zote na waandishi mbalimbali wa ndani na nje ya nchi.......
Siyo hivyo tuu pia wanatoa photocopy pamoja na kazi za kutype bila kusahau stationary yenye vitu vizuri kama pen , bahasha,........

kuonyesha wanakujali zaidi mteja wao ukifika pale unajituliza na vinywaji vya compuny ya cocacola na pepsi hata maji yapo makumbwa na madogo yaani pesa yako tuuu na bei zao ni sawa na bureeeeeeeeeeeeeeee kabisa...njoooooooooooo ujioneeeeeee mwenyewe usisubili kuambiwa .................






Monday, June 25, 2012

do you know where you come from?

programming in java

CHAPTER SUMMARY

1. A computer is an electronic device that stores and processes data.

2. A computer includes both hardware and software.

3. Hardware is the physical aspect of the computer that can be seen.

4. Computer programs, known as software, are the invisible instructions that control the

hardware and make it perform tasks.

5. Computer programming is the writing of instructions (i.e., code) for computers to

perform.

6. The central processing unit (CPU) is a computer’s brain. It retrieves instructions from

memory and executes them.

7. Computers use zeros and ones because digital devices have two stable states, referred

to by convention as zero and one.

8. A bit is a binary digit 0 or 1.

9. A byte is a sequence of 8 bits.

10. A kilobyte is about 1000 bytes, a megabyte about 1 million bytes, a gigabyte about 1

billion bytes, and a terabyte about 1000 gigabytes.

11. Memory stores data and program instructions for the CPU

12. A memory unit is an ordered sequence of bytes.

13. Memory is volatile, because information is lost when the power is turned off.

Programs and data are permanently stored on storage devices and are moved to memory

when the computer actually uses them.

15. The machine language is a set of primitive instructions built into every computer.

16. Assembly language is a low-level programming language in which a mnemonic is

used to represent each machine-language instruction.

17. High-level languages are English-like and easy to learn and program.

18. A program written in a high-level language is called a source program.

19. A compiler is a software program that translates the source program into a machinelanguage

program.

20. The operating system (OS) is a program that manages and controls a computer’s

activities.

21. Java is platform independent, meaning that you can write a program once and run it

anywhere.

22. Java programs can be embedded in HTML pages and downloaded by Web browsers

to bring live animation and interaction to Web clients.

23. Java source files end with the .java extension.

24. Every class is compiled into a separate bytecode file that has the same name as the

class and ends with the .class extension.

25. To compile a Java source-code file from the command line, use the javac command.

26. To run a Java class from the command line, use the java command.

27. Every Java program is a set of class definitions. The keyword class introduces a

class definition. The contents of the class are included in a block.

28. A block begins with an opening brace ({) and ends with a closing brace (}). Methods

are contained in a class.

29. A Java program must have a main method. The main method is the entry point where

the program starts when it is executed.

30. Every statement in Java ends with a semicolon (;), known as the statement terminator.

31. Reserved words, or keywords, have a specific meaning to the compiler and cannot be

used for other purposes in the program.

32. In Java, comments are preceded by two slashes (//) on a line, called a line comment,

or enclosed between /* and */ on one or several lines, called a block comment.

33. Java source programs are case sensitive.

34. There are two types of import statements: specific import and wildcard import. The

specific import specifies a single class in the import statement. The wildcard import

imports all the classes in a package.

Saturday, June 16, 2012




 
Subnetting questions



1.      Question: Which subnet does host 172.26.128.188 255.255.240.0 belong to?
Answer: 172.26.128.0
2.      Question: What valid host range is the IP address 192.168.248.100/28 a part of?
Answer: 192.168.248.97 through to 192.168.248.110
3.      Question: Which subnet does host 192.168.209.98/28 belong to?
Answer: 192.168.209.96
4.      Question: What is the first valid host on the subnetwork that the node 192.168.94.70 255.255.255.128 belongs to?
Answer: 192.168.94.1
5.      Question: What valid host range is the IP address 172.16.111.162/22 a part of?
Answer: 172.16.108.1 through to 172.16.111.254
6.      Question: Which subnet does host 172.18.23.202 255.255.254.0 belong to?
Answer: 172.18.22.0
7.      Question: What valid host range is the IP address 172.16.62.224/24 a part of?
Answer: 172.16.62.1 through to 172.16.62.254
8.      Question: What is the broadcast address of the network 192.168.56.8 255.255.255.248?
Answer: 192.168.56.15
9.      Question: You are designing a subnet mask for the 172.20.0.0 network. You want 170 subnets with up to 160 hosts on each subnet. What subnet mask should you use?
Answer: 255.255.255.0
10.  Question: What is the first valid host on the subnetwork that the node 172.19.130.43/23 belongs to?
Answer: 172.19.130.1
11.  Question: What is the last valid host on the subnetwork 10.36.0.0/20?
Answer: 10.36.15.254
12.  Question: What is the broadcast address of the network 192.168.126.128/29?
Answer: 192.168.126.135
13.  Question: What valid host range is the IP address 10.250.224.23 255.255.240.0 a part of?
Answer: 10.250.224.1 through to 10.250.239.254
14.  Question: What is the first valid host on the subnetwork that the node 172.21.252.171/23 belongs to?
Answer: 172.21.252.1
15.  Question: How many subnets and hosts per subnet can you get from the network 172.17.0.0/24?
Answer: 256 subnets and 254 hosts
16.  Question: What valid host range is the IP address 10.31.164.36/20 a part of?
Answer: 10.31.160.1 through to 10.31.175.254
17.  Question: What is the last valid host on the subnetwork 172.24.53.0 255.255.255.224?
Answer: 172.24.53.30
18.  Question: How many subnets and hosts per subnet can you get from the network 172.26.0.0/23?
Answer: 128 subnets and 510 hosts
19.  Question: What is the last valid host on the subnetwork 192.168.9.64 255.255.255.240?
Answer: 192.168.9.78
20.  Question: What is the first valid host on the subnetwork that the node 172.18.197.187/23 belongs to?
Answer: 172.18.196.1






MICROSOFT EXCEL