Question Set

1. We want to test whether a value lies in the range 2 to 4 or 5 to 7. Can we do this using a switch?



Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.01 pm
    We can do this in following switch statement switch(a) { case 2: case 3: case 4: /* some statements */ break; case 5: case 6: case 7: /* some statements */ break; }
Show Similar Question And Answers
QA->If you have a Power point show you created and want to send using E-mail to another teacher you can add the show to your E-mail message as an______....
QA->Which surface to air missile was successfully test fired from Interim Test Range (ITR), Chandipur, Odhisa by Defence Research and Development Organisation (DRDO)?....
QA->If a document contains 50 pages and you want to move the 25th page, you do so by using the option.....
QA->P can do a work in the same time in which Q and R together can do it. If P and Q work together, the work can be completed in 10 days. R alone needs 50 days to complete the same work. then Q alone can do it in....
QA->A semiconductor device used to amplify or switch electronic signals and electrical . power?....
MCQ->Which of the following sentences are correct about a switch loop in a C program? 1: switch is useful when we wish to check the value of variable against a particular set of values. 2: switch is useful when we wish to check whether a value falls in different ranges. 3: Compiler implements a jump table for cases used in switch. 4: It is not necessary to use a break in every switch statement.....
MCQ->We want to test whether a value lies in the range 2 to 4 or 5 to 7. Can we do this using a switch?....
MCQ->You need to allow one host to be permitted to attach dynamically to each switch interface. Which two commands must you configure on your catalyst switch to meet this policy? Switch(config-if)# ip access-group 10 Switch(config-if)# switchport port-security maximum 1 Switch(config)# access-list 10 permit ip host 1 Switch(config-if)# switchport port-security violation shutdown Switch(config)# mac-address-table secure....
MCQ->Match List I correctly with List II and select your answer using the codes given below : List I List II a) Chi-square test 1. Factor analysis b) Mann-Whitney test 2. k-samples test c) Eigenvalue 3. two samples test d) Kruskal-Wallis test 4. one sample test....
MCQ->Which of the following types of connections can use full duplex? Hub to hub Switch to switch Host to host Switch to hub Switch to host....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution