Technical Questions

Q:

What are the notations used in Evaluation of Arithmetic Expressions using prefix and postfix forms?

A) Polish B) Reverse Polish
C) Both A and B D) None of the above
 
Answer & Explanation Answer: C) Both A and B

Explanation:

Polish and Reverse Polish are the notations used in Evaluation of Arithmetic Expressions using prefix and postfix forms

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

10 13058
Q:

 What is the output of this C code? 

        #include <stdio.h>
        void m()
        {
            printf("hi");
        }
        void main()
        {
            m();
        }

A) hi B) Run time error
C) None D) Varies
 
Answer & Explanation Answer: A) hi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

0 12772
Q:

The output of the code below is

        #include <stdio.h>
        int *m()
        {
            int *p = 5;
            return p;
        }
        void main()
        {
            int *k = m();
            printf("%d", k);
        }

A) 5 B) Junk value
C) 0 D) Error
 
Answer & Explanation Answer: A) 5

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 12510
Q:

What are demand-paging and pre-paging?

Answer

With demand paging, a page is brought into memory only when a location on that page is actually referenced during execution. With pre-paging, pages other than the one demanded by a page fault are brought in. The selection of such pages is done based on common access patterns, especially for secondary memory devices.

Report Error

View answer Workspace Report Error Discuss

4 12438
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

10 12388
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

3 12386
Q:

What are the disadvantages of context switching?

Answer

Time taken for switching from one process to other is pure over head. Because the system does no useful work while switching. So one of the solutions is to go for threading when ever possible.

Report Error

View answer Workspace Report Error Discuss

24 12335
Q:

When mapping a supertype/subtype relationship which of the following is true?

A) The supertype primary key is assigned to each subtype. B) The subtype primary key is assigned to each supertype.
C) There is no link between the supertype/subtype entities. D) There is no primary key/foreign key relationship between a supertype/subtype.
 
Answer & Explanation Answer: A) The supertype primary key is assigned to each subtype.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

4 12187