Technical Questions

Q:

What is fragmentation?

Answer

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request.

Report Error

View answer Workspace Report Error Discuss

1 1884
Q:

What is SLIP

Answer

It is a very simple protocol used for transmission of IP datagrams across a serial line.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 1884
Q:

Networking definition and examples?

Answer

In Computers ::


A network is a collection of computers, servers, mainframes, network devices, peripherals, or other devices connected to one another to allow the sharing of data.


An excellent example of a network is the Internet, which connects millions of people all over the world. Below is an example image of a home network with multiple computers and other network devices all connected to each other and the Internet.


Ex:: LAN, WAN, MAN, WLAN,...


In Business view::


 


Networking is defined as the act of making contact and exchanging information with other people, groups and institutions to develop mutually beneficial relationships.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: IT Trainer , Network Engineer

5 1881
Q:

Point out the error, if any, in the following program.

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1880
Q:

What is a Multi-homed Host?

Answer

It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multi-homed Host

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 1878
Q:

While running DOS on a PC, which command would be used to duplicate the entire diskette?

Answer

diskcopy

Report Error

View answer Workspace Report Error Discuss

1 1877
Q:

Point out the error, ifany, in the followingb code?

typedef struct

{

     int data;

     NODEPTR link;

} *NODEPTR;

 

Answer

A typedef defines a new name for a type, and in simpler cases like the one shown below you can define a new structure type and a typedef for it at the same time.


typedef struct


{


    char name[20];


    int age;


} emp;


However, in the structure defined in this question, there is an error because a typedef declaration cannot be used until it is defined. In the given code fragment the typedef declaration is not yet defined at he point where the link field is declared.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1874
Q:

What is the difference between the following declarations?

extern int fun();

int fun();

Answer

There is no difference except for the fact that the first one gives a hint that the function fun() is probably in another source file.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1873