Posts

C++ First Example

Image
  It is time to type our first C++ program. This program is going to prompt a line of text that says "Hello World!". This program has no input and no process but only output which says "Hello world!".  #include <iostream> using namespace std; int main() //the only function in this program. { cout <<"------------------------------- \n\n\n\n"; cout <<"Hello world! \n"; cout <<"********************************* \n"; cout <<"This is my C++ program."<<endl<<endl<<endl<<endl; system("pause"); return 0; }

Understanding C++

Image
  Understanding the Programming Programming is instructing a computer to perform a task for you with the help of a programming language. The instructing part requires a step by step solution to the task. This step by step solution is called an algorithm after the name of AlKharizmi. People who make computer programs are called programmers. There are usually two difficulties for computer programmers; Finding a feasible algorithm (algorithm design) and writing the program (implementation). People who use the programs are called end-users. A computer program (software) contains a sequence of instructions for a computer. One program is usually composed of three parts: l Input part gets the data from an input device. Our programs, in the book, will get the data from keyboard or from a text file. l Process part is the hardest working part of the program. It carries out the algorithm and finds out the desired result. l Output part gives the result of the program. Our programs will display the

JSS1 COMPUTER STUDIES FINAL EXAM QUESTIONS

Image
  3.Term Final Exam Question    1.     What does ICT stands for? A.     Information and Communication Technology B.     Instant Command Transmission C.     Internet Community Technology D.    Information Continuity Transfer   2.     One of the following is a disadvantage of ICT. A.     Expensive setup B.     Accommodation C.     Productivity D.    Independent   3.     All are laboratory rules and regulations except ___________                             A.     Maintaining dust-free environment. B.     Do not move any equipment from its original position. C.     Do not load or remove any software from the system. D.    Do not attempt to repair laboratory equipment.   4.     One of the following best describe ICT. A.     The communication between two people B.     The use of electronic devices and other electronic communication means to manage and process information effectively. C.     Intersection of row and a column D.    it is a place where we buy our goods   5.     Ethics means wha