Posts

Showing posts with the label QA

Answer the following questions:

Image
 a. What is communication? From which word is it derived?        ans : Communications is the exchange of information between two or more things, such as people, devices, governments, organizations, or businesses. In digital communication, data is exchanged between two or more computing devices. This data communication ( datacom ) occurs over a communication medium, such as a telephone line, fiber optic cable, or wireless radio signal. The collection of digital devices and their connection media is a computer network and is what allows devices to "talk" to each other. The word communication is derived from communis (Latin) which means common. Communis is noun word, which means common, communiality or sharing. Similarly, communicare is a verb, which means 'make something common'.    b. What is data transmission mode? List different types of data transmission modes.        ans : Data communication is the transmiss...

Why we use function in C?

F unctions are used for dividing a large code into module, due to this we can easily debug and maintain the code. For example if we write a calculator programs at that time we can write every logic in a separate function. Any function can be called many times. A dvantages of Function Code Reusuability Develop an application in module format Easy to debug the program Code optimization: no need to write a lot of code Code is easier to read Program testing becomes easier Compiled executable is smaller You don't need to make comments because function name make sense Program can be developed in short period of time There is no chance of code duplication

Define operator. Explain different types of operators used in C.

O perator is a special symbol used in programming that performs specific operation on operands. It is used to operate any two or multiple operands. Here, In c=a+b expression, a, b and c are operands and "=" and "+" are operators. There are different types of operators used in C programming. Arithmetic operators Relational operators Equality operators Logical operators Assignment operators, Unary operators Conditional operators Size Of operator Arithmetic Operator Arithmetic Operators are used to perform mathematical calculations. These operators are used with two or more than two operands. Arithmetic Operators are: "+"------------------> Addition---------------->a+b---------------->add value of "a" and "b" "-" ------------------> Subtraction -------------------> a-b-------------> subtract value of "a" and "b" "*" ---------------------> Multiplication------...

Define Turbo C Interface.

Image
The interface of Turbo C is very simple. When IDE screen appears, the menu bar is activated. It contains various menus such as : File : This Menu contains group of commands used for save, edit, print program, exit from Turbo C editor etc. Edit : This menu contains group of commands used for editing C program source code. For example copy, cut, paste, undo etc Search : This menu contains group of commands used for running C program Run : This menu contains group of commands used  for running C program Compile : This menu contains group of commands used for compiling C program Debug : This menu contains group of commands used for debugging C program Project : This menu contains group of commands used for opening, closing and creating projects. Options : This menu contains group of commands used for configuring IDE of Turbo C and setting up directories etc Windows : This menu contains group of commands used for opening, closing various windows of IDE. Help : This menu is us...