programming research 10 pages
1) Explain the difference between hardware and software.
Hardware is the physical things with or in computer.
Example: printer, mouse and monitor
Software is pouch of codes or applications without the software we can't use most devices.
Example: Windows, Firewall, and Linux
2) What are the 5 types programming domains?
1. Scientific applications 2. Business applications 3. Artificial intelligence
4. Systems programming 5. Web Software
3) What is Computer programming?
Computer programming is commanding the computer about what should do next using codes.
4) Explain the programming process.
1. Find the problem 2. Find the beast plan 3. Start typing the codes
4. Test the codes step by step.
5) Explain Structured programming – in your own words.
Structured programming is written clear and orderly and it’s easy to follow.
6) Explain the differences between full compiled, pure interpreters, and hybrid implantation methods
languages.
Full compiled languages: translate the programs to machine codes and it take long time, but the overall
time is faster. Needs more space sometimes. Ex. C, C++.
Interpreters languages: translate the programs step by step and take short time but the overall time is
slower. Ex. Python, Ruby
7) Explain the different aspects of the cost of a programming language.
Programmers cost: training the programmers need a trainer and trainer is expensive.
Writing the programs cost: writing a program cost will increase depended on how the program is
complicated.
Programs maintenance cost: fix and update the programs.
8) Explain the difference between source code and machine code.
Source code: is wrote by programmer with programming languages.
Machine code: is a translated source codes and data in the processor. Machine language is 0 and 1.
9) Explain the Von Neumann model. What is the Von Neumann bottleneck?
Speed of connection between the PC memory and processor.
Program instructions faster than connection speed.
It’s the speed of PCs.
10) What is a preprocessor?
It processes the programs before running, and defined commands.
Explain each of the following Software Architectures, give an example application of each
a. Single Process
A) it has one tier with single process.
Ex, command line.
b. Tier 2 Client Server
B) it has two tier client and server. It gets more information or processes from the server.
Ex, Windows backup.
c. Tier 3 Client Server
C) it has three tiers client, server and database. It shares the program to three tier and fix the data.
Ex, SaaS.
d. Tier N Clint Server
D) it has four tiers client, server, server and database.
Ex, JAVA
e. Peer to Peer
E) it has workshops and for each of them have same abilities and responsibilities without central serves.
EX, Vuse, Skype.
Explain Synchronous and asynchronous process communication.
Synchronous process:
Finish the process without stop and you can see the process result in the same time.
asynchronous process:
can’t finish the process in the same time and the result will display after the process stop and finish.
1) Give the definition of each: a. Client b. Server c. Service d. Shared resource
A) is any application in the system which asks server for service to do a job.
B) getting the requests from client and do them then return the services to the client to use.
C) is the relationship between client and server.
D) is how the server can serve multi-client in the same time.
What are the advantages of Client Server Computing?
# Storage for data.
# Connecter.
# Makes Apps helpful.
# Picks and fix data.
# Help with sharing data.
What are the disadvantages of Client Server Computing?
# Crowding on network.
# Doesn't have robustness of a good P2P network.
# If one of server fall then couldn’t serve the clients.
4) What are the 4 types of Servers as discussed in “Introduction to Client Server Computing“ pdf posted on blackboard? Explain each.
File Server: it’s for sharing information, the clients make requests to file server to find the
specific data. And it provides the ability to processors.
Database Server: client makes requests as massage to the database and return every SQL
command to network.
Transaction server: the client can do remote operations or the services on the SOL database.
single request and the SQL should be all success or fail as unit.
Groupware server: mange the information as text, mail, and work process. Make people on the
live connect with other people.
5) In Client Server Computing; which initiates the communication - The Client or the Server
5. Client because server always waiting for client requests.
6) A Server is continually listening on a socket. What is a socket?
6. Socket: is the endpoint for a communication between two programs on the network.
What are well-known ports and what is the purpose of well-known ports?
7. From 0 to 1023 registered ports and the purpose from it to find the specific service on the IP