MCQ edugrip.docx

123
Basic Networking Multiple Choice Questions Sunday, 15 April 2012 1) Which of the following is not a type of Computer Network? a. Local Area Network (LAN) b. Personal Area Network (PAN) c. Remote Area Network (RAN) d. Metropolitan Area Network (MAN) Show/Hide Answer Answer = c Explanation:The Types of Computer Networks are LAN, MAN, PAN, WAN, CAN but RAN Remote Area Network is not a type of CN. 2) Full Form of NIC? a. New Internet Connection b. Network Interface Card c. Network Interface Connection d. Net Interface Card Show/Hide Answer Answer =B Explanation: NIC is Network Interface Card Which is Used to Connect Computer to a Network. 3) Which of the following are type of Twisted Pair Cable? a. Coaxial Cable b. Shielded Twisted Pair (STP) c. Unshielded Twisted Pair (UTP) d. Only B and C Show/Hide Answer Answer = D Explanation:STP and UTP are type of Twisted Pair Cable which are mostly used in all Networks. 4) _________ Supports Data Rate Upto 1000 Mbps Gigabyte Ethernet. a. CAT 1 b. Thinnet c. CAT 5 d. CAT 5e Show/Hide Answer Answer = D Explanation: CAT 5e is also Know As 1000 Mbps Gigabyte Ethernet and Supports Data Rate Upto 1000 Mbps. 5) Which Color Coding of Cable is Used to Connect Similar Devices? a. Straight Cable b. Cross Over Cable c. Serial Cable

Transcript of MCQ edugrip.docx

Basic Networking Multiple Choice QuestionsSunday, 15 April 2012

1) Which of the following is not a type of Computer Network?a. Local Area Network (LAN)b. Personal Area Network (PAN)c. Remote Area Network (RAN)d. Metropolitan Area Network (MAN)Show/Hide AnswerAnswer = cExplanation:The Types of Computer Networks are LAN, MAN, PAN, WAN, CAN but RAN Remote Area Network is not a type of CN.

2) Full Form of NIC?a. New Internet Connectionb. Network Interface Cardc. Network Interface Connectiond. Net Interface CardShow/Hide AnswerAnswer =BExplanation: NIC is Network Interface Card Which is Used to Connect Computer to a Network.3) Which of the following are type of Twisted Pair Cable?a. Coaxial Cableb. Shielded Twisted Pair (STP)c. Unshielded Twisted Pair (UTP)d. Only B and CShow/Hide AnswerAnswer = DExplanation:STP and UTP are type of Twisted Pair Cable which are mostly used in all Networks.

4) _________ Supports Data Rate Upto 1000 Mbps Gigabyte Ethernet.a. CAT 1b. Thinnetc. CAT 5d. CAT 5eShow/Hide AnswerAnswer = DExplanation: CAT 5eis also Know As 1000 Mbps Gigabyte Ethernet andSupports Data Rate Upto 1000 Mbps.

5) Which Color Coding of Cable is Used to Connect Similar Devices?a. Straight Cableb. Cross Over Cablec. Serial Cabled. All of Above.Show/Hide AnswerAnswer = BExplanation: Cross Over Color Coding of UTP Cable is Used to connect Similar Devices like HUB to HUB, PC to PC, Switch To Switch.6) HUB is a _________ Device and Switch is a ________ Device.a. Unicast, Multicastb. Malticast, Unicastc. Broadcast, Unicastd. None of AboveShow/Hide AnswerAnswer = CExplanation: Hub is a Broadcasting Device and Switch is a Unicasting Device because Switch have Memory Element to Store MAC Address.

7) Switch is a Device of _________ Layer of OSI Model.a. Network Layerb. Data Link Layerc. Application Layerd. Session LayerShow/Hide AnswerAnswer = BExplanation: Switches Operate On Th Second Layer of OSI Model That is Data Link Layer.

8) Star Topology is Based On a Central Device that can be __________ ?a. HUBb. Switchc. Only Ad. Both A and BShow/Hide AnswerAnswer = DExplanation: HUB and Switch are used in Star Type Networks.

9) TCP/IP is also well known as _______.a. OSI Modelb. TCP Modelc. DOD Modeld. Network ModelShow/Hide AnswerAnswer = CExplanation: TCP/IP Model is also known as DOD model.

10) IPX/SPX is used in ______________.a. Novell's Netware Networkb. Mac - Macintoshc. Appled. MicrosoftShow/Hide AnswerAnswer = AExplanation: IPX/SPX - Internet Packet Exchanger/Sequenced Package Exchanger is used in Novell's Netware Network.C Language Objective Type Quiz QuestionsSunday, 28 October 2012

1) A self contained block of statements that perform a coherent task of some kind is called a?a. Monitorb. Functionc. Programd. StructureShow/Hide AnswerAnswer = B2) Recursion is sometimes called ?a. Circular definitionb. Complex definitionc. Procedured. UnionShow/Hide AnswerAnswer =A3) The directive that can be used to test whether an expression evaluates to a nonzero value or not is ?a. #ifb. #elifc. #endifd. #exitShow/Hide AnswerAnswer = A4) The number of arguments supplied from the command line, by conversion is known as ?a. arg cb. arg vc. #defined. #includeShow/Hide AnswerAnswer = A5) The expression X=4+2%-8 evaluates ?a. -6b. 6c. 4d. NoneShow/Hide AnswerAnswer =B6) Determine which of the following is valid character constant ?a. '//'b. '\0'c. 'xyz'd. '\052'Show/Hide AnswerAnswer = A7) Given the statement , maruti.engine.bolts=25 . Which of the following is true?a. Structure bolts is nested within structure engineb. Structure engine is nested within structure marutic. Structure maruti is nested within structure engined. Structure maruti nested within structure boltsShow/Hide AnswerAnswer =B8) To access a structure element using a pointer, ......... operator is used?a. dot ( . )b. pointer ( & )c. pointer ( * )d. arrow ( -> )Show/Hide AnswerAnswer =D9) The ........ operator is a technique to forcefully convert one data type to the other ?a. Castb. Conversionc. Typed. UniaryShow/Hide AnswerAnswer = A10) Which of the following numerical value is invalid constant ?a. assignment operatorb. relational operatorc. logical operatord. bitwise shift operatorShow/Hide AnswerAnswer = D- See more at: http://allquiz.blogspot.in/2012/10/c-language-objective-type-quiz-questions.html#sthash.05MjTkXe.dpuf1) =400) b=300; c=200; printf("%d,%d\n",b,c); return 0; }

a. Garbage value, Garbage Valueb. 300,200c. 200,300d. Garbage value,200Show/Hide AnswerAnswer = DExplanation:As the condition within the if statement is false so the value of b will not be initialized so it will print the garbage value and c is initialized to 200 so the output will be Garbage,2002) What will be the output of following code ? #include int main( ) { int x=10,y=20; if(x = = y) printf("%d%d",x,y); return 0; }

a. Garbage valuesb. Raise an errorc. Prints Nothingd. None of aboveShow/Hide AnswerAnswer = CExplanation:As the condition of if statement is not true, so the statement immediately after if that is print statement will not be executed and the code prints nothing.3) Give the output of following code ? #include int main( ) { int x=3; float y=3.0; if(x = = y) printf(" x and y are equal"); else printf(" x and y are not equal"); }

a. x and y are equalb. x and y are not equalc. x and y are samed. None of aboveShow/Hide AnswerAnswer = A4) What will be the output of code ? #include int main( ) { int x=3,y,z; y=x=10; z=x40); }

a. 35,50,40b. 0,50,0c. 0,0,0d. 1,1,1Show/Hide AnswerAnswer =B6) Which of the following statement is used to take the control to the beginning of the loop ?

a. exitb. breakc. continued. None of theseShow/Hide AnswerAnswer = C7) A do - while loop is useful when we want that the statement within the loop must be executed ?

a. only onceb. at least oncec. more than onced. None of aboveShow/Hide AnswerAnswer = B8) What will the output of following program ? #include void main( ) { int i=0; for(;i;) printf("Allquiz"); }

a. Prints Nothingb. Raise an errorc. Garbage valued. AllquizShow/Hide AnswerAnswer = A9) What will be the output of following program ? #include void main( ) { int i; for(i=1;i