TCS Papers: Sample Questions 210 - 211 of 502

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 210

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

What are header files and its uses in c programming?

Explanation

  • Header files contain two essential things: the definitions and prototypes of functions being used in a program.

  • Simply put, commands in C programming are actually functions defined from within each header files.

  • Each header file contains a set of functions.

  • For example, “stdio. h” header file contains declarations like printf and scanf.

  • A header file in C programming language is a file with. h extension which contains a set of common function declarations and macro definitions shared across multiple program files.

  • C language provides a set of in build header files containing commonly used utility functions and macros.

Question number: 211

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is a node?

Explanation

  • A network consists of two or more computers directly connected by physical medium such as coaxial cable or optical fiber- physical medium is called links and the devices it connects are called nodes.

  • A node is thus any active, physical, electronic device attached to a network- devices then become capable of sending, receiving, or forwarding information sometimes a combination of the three.

  • Examples of nodes include bridges, switches, hubs, and modems to other computers, printers, and servers.

  • One of the most common forms of a node is a host computer often referred to as an Internet node.

 Image shows the nodes

Image Shows the Nodes

Given the image is define the nodes in example