Technical Questions

Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
    int const SIZE = 5;
    int expr;
    double value[SIZE] = { 2.0, 4.0, 6.0, 8.0, 10.0 };
    expr=1|2|3|4;
    printf ( "%f", value[expr] );
}

A) 2.000000 B) 4.000000
C) 8.000000 D) Compilation error
 
Answer & Explanation Answer: D) Compilation error

Explanation:

Size of any array in c cannot be constantan variable.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

5 6656
Q:

What are 10Base2, 10Base5 and 10BaseT Ethernet LANs

Answer

10Base2—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband


signaling, with a contiguous cable segment length of 100


meters and a maximum of 2 segments.


 


10Base5—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband


signaling, with 5 continuous segments not exceeding 100


meters per segment.


 


10BaseT—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband


signaling and twisted pair cabling.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

2 6581
Q:

What are the stipulations of C2 level security?

Answer

C2 level security provides for:


 


1.Discretionary Access Control


2.Identification and Authentication


3.Auditing


4.Resource reuse

Report Error

View answer Workspace Report Error Discuss

17 6464
Q:

What does microprocessor speed depend on?

Answer

the processing speed depends on DATA BUS WIDTH.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

12 6395
Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
    signed int a = -1;
    unsigned int b = -1u;
    if(a == b)
         printf( "The Lord of the Rings" );
    else
         printf( "American Beauty" );
}

A) The Lord of the Rings B) American Beauty
C) Compilation error: Cannot compare signed number with unsigned number D) Warning: Illegal operation
 
Answer & Explanation Answer: A) The Lord of the Rings

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

5 6334
Q:

public abstract interface Frobnicate { public void twiddle(String s); } 

Which is a correct class?

A) public abstract class Frob implements Frobnicate { public abstract void twiddle(String s) { } } B) public abstract class Frob implements Frobnicate { }
C) public class Frob extends Frobnicate { public void twiddle(Integer i) { } } D) public class Frob implements Frobnicate { public void twiddle(Integer i) { } }
 
Answer & Explanation Answer: B) public abstract class Frob implements Frobnicate { }

Explanation:

B is correct, an abstract class need not implement any or all of an interface’s methods

Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 6129
Q:

 The load and index is which of the following?

A) A process to reject data from the data warehouse and to create the necessary indexes B) A process to load the data in the data warehouse and to create the necessary indexes
C) A process to upgrade the quality of data after it is moved into a data warehouse D) A process to upgrade the quality of data before it is moved into a data warehouse
 
Answer & Explanation Answer: B) A process to load the data in the data warehouse and to create the necessary indexes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

1 5906
Q:

What are the data units at different layers of the TCP / IP protocol suite?

Answer

The data unit created at the application layer is called a message, at the transport layer the data unit created is called either a segment or an user datagram, at the network layer the data unit created is called the datagram, at the data link layer the datagram is encapsulated in to a frame and finally transmitted as signals along the transmission media.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

3 5878