6 May 2014

Basic level c test




Time Duration: 30 Min


1)      In a C program a single-statement for loop is terminated with a
A) Right bracket
B) Right brace
C) Comma
D) Semicolon
E) Quote 

2)      The advantage of a switch statement over an else-if construction in a C program is?
A) A default condition can be used in the switch
B) The switch is easier to understand
C) Several different statements can be executed for each case in a switch.
D) Several different conditions can cause one set of statements to be executed in a switch. 

3)      What is the purpose of the parantheses following the word main in a C program?
A) indicates that main is inherited and provides a place for the derived class.
B) Indicates that main is a variable and alows room for the definition.
C) Indicates that main is a function and provides a place for arguments
D) Indicates that main is a operator and provides a place for the arithmetic function to be used. 

4)      The break statement is used to exit from which part of a loop in a C program?
A) Beginning
B) Middle
C) End
D) The decision part.
E) None of the above

5)      A multiple-statement while loop is terminated with a ___________ in a C program.
A) Right Bracket
B) Right brace
C) Comma
D) Semicolon
E) Quote 

30 comments:

  1. Telangana TSGENCO Assistant Engineer Recruitment 2015

    First i would like greet author, thanks for providing valueble information......

    ReplyDelete

  2. Jharkhand JPSC 395 Assistant Engineer Recruitment 2015

    Its really great information i am glad you to found this kind of website......................

    ReplyDelete
  3. Latest Govt Jobs 2016

    thanks for sharing the useful article which is helpful for many people……............

    ReplyDelete
  4. I enjoyed over read your blog post. Your blog have nice information, I got good ideas from this amazing blog. I am always searching like this type blog post. I hope I will see again..
    halloween| animaljam| happywheels| cool math| coolmathgames| 8ballpool| sudoku az| sudoku online| yoob games| friv yoob| happy wheels demo| unblocked games | hanger| tetris| friv4school| color sudoku| kumba karate
    happy wheels hacked| shopping cart hero 2| whack a craft| sports heads football| raze 2

    ReplyDelete
  5. Thanks for sharing such a nice article. i love your writing. your idea is mind blowing that's why i would like to appreciate your work.
    Employment News

    ReplyDelete
  6. I found lots of interesting information here.Great work
    Thanks for the share loved reading the article, please do share more like this wiht us .

    Temple Run 2
    Run 3
    Click Jogos
    Subway Surfers

    ReplyDelete
  7. Let’s keep out sites for your child! click:
    slither.io | wings.io | happy wheels | abcya | fnaf 4 | games for kids | racing games to play for free!

    ReplyDelete
  8. There is no pretending," Jace said with absolute clarity. "I love you, and I will love you until I die, and if there is life after that, I'll love you then
    mutant fighting cup 2 | manny pacquiao | stardew valley wiki | slitherio | powerpuff yourself | zumbi tsunami | fishdom | quotes about love | chinese food near me | snake

    ReplyDelete
  9. This app is great it gives you those moments of relaxation and incredibly wonderful
    age of war 2 | tank trouble | gold miner | tank trouble 3
    Just wanted to tell you keep up the fantastic work!my weblog:
    age of war 3 | earn to die 2 | earn to die 2 | red ball
    Stick war 2 | Apple Shooter

    ReplyDelete
  10. With a Hotmail account, you can send and receive emails quickly and easily as well as login and use all Microsoft services.
    hotmail review | sign in to hotmail

    This is the game so players feel very fierce , adventurous . You try to join and play this game , you will feel great like.
    strike force heroes | strike force heroes 4
    slither.io | red ball | can your pet
    happywheels | earn to die | duck life

    ReplyDelete
  11. Very informative content. I love reading it. Thanks for sharing it.
    Singapore Moneylender
    Digibrand

    ReplyDelete
  12. The blog or and best that is extremely useful to keep I can share the ideas. Age Of War 2
    Big Farm | Slitherio | Tank Trouble
    Of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
    Happy Wheels | Goodgeme Empire | Slither.io


    ReplyDelete
  13. This is one of the cult game now, a lot of people enjoy playing them . Also you can refer to the game :
    gold mine strike | pokemon go 2
    The game controls are shown just under . Movement mechanisms primarily include acceleration and tilting controls.
    stickman games | stick war 2 | animal jam 2

    ReplyDelete
  14. I would like more information about this. Thanks for sharing.
    wings.io | super mechs 2 | run 2 game | supermechs | wingsio

    ReplyDelete
  15. I am sure that the informative you shared througheful for my future. keep sharing. A good blog.
    wings.io | super mechs 2 | wingsio | run 2 game | supermechs | run 2

    ReplyDelete
  16. I would like to thank you for the efforts you have made in writing this article.
    descargar facebook | descargar facebook gratis | facebook descargar

    ReplyDelete
  17. Something not too good. Attention, too. When selfish, overly concerned, it would not be love again. It will make people in the tired, just want to let go because they have the feeling of being controlled anytime, anywhere.

    dream league soccer
    subway surfer
    clash royale
    go launcher
    banana kong

    ReplyDelete
  18. Thank you for sharing. Your blog posts are more interesting and impressive. I think there are many people like and visit it regularly, including me.I actually appreciate your own position and I will be sure to come back here
    whatsapp baixar
    Square Quick
    Geometry Dash
    Baixar Musicas
    Snapchat

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. Your blog posts are more interesting and impressive. stick-rpg2.com

    ReplyDelete
  22. You’ve written nice post, I am gonna bookmark this page, thanks for info. I actually appreciate your own position and I will be sure to come back here.

    http://word-cookies-answers.com

    ReplyDelete