mindfire solutions sample programming placement paper level1

Upload: placementpapersample

Post on 04-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 Mindfire Solutions Sample Programming Placement Paper Level1

    1/5

    Visitwww.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates

    To Get 24*7 Updates Via Facebook Like Us @http://www.facebook.com/LatestOffCampus

    To Get Free Job Updates To Your mail Join US @http://groups.google.com/group/latestoffcampus/subscribe

    Visitwww.latestoffcampus.comfor placement papers, interview tips & job updates. To get

    free updates to mailhttps://groups.google.com/group/latestoffcampus Live updates on

    Facebook @https://www.facebook.com/LatestOffCampus

    TITLE: Mindfire Solutions Sample Programming Placement Paper Level1

    (Bolded option is your answer)

    1.What are the different types of real data type in C ?

    A short int,

    double,long int

    B float,

    double, longdouble

    C double, long int, float D float, double

    2. The binary equivalent of 5.375 is

    A None B C 101.011 D 101.101110111

    3. What will you do to treat the constant 3.14 as a float?

    A use

    (f)(3.14)

    B use

    float(3.14f)

    C use f(3.14) D use 3.14f

    4. If a variable is a pointer to a structure, then which of the following operator is used

    to access data members of the structure through the pointer variable?

    A -> B & C . D *

    5. The operator used to get value at address stored in a pointer variable is

    A && B * C & D ||

    6. How will you free the allocated memory ?

    A

    delete(var-

    name);

    B

    remove(var-

    name);

    C free(var-name); D dalloc(var-name);

    7. Which bitwise operator is suitable for turning on a particular bit in a number?

    A ||

    operator

    B &&

    operator

    C & operator D | operator

    http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/https://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/https://www.facebook.com/LatestOffCampushttps://groups.google.com/group/latestoffcampushttp://www.latestoffcampus.com/http://groups.google.com/group/latestoffcampus/subscribehttp://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/
  • 7/29/2019 Mindfire Solutions Sample Programming Placement Paper Level1

    2/5

    Visitwww.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates

    To Get 24*7 Updates Via Facebook Like Us @http://www.facebook.com/LatestOffCampus

    To Get Free Job Updates To Your mail Join US @http://groups.google.com/group/latestoffcampus/subscribe

    Visitwww.latestoffcampus.comfor placement papers, interview tips & job updates. To get

    free updates to mailhttps://groups.google.com/group/latestoffcampus Live updates on

    Facebook @https://www.facebook.com/LatestOffCampus

    8. What function should be used to free the memory allocated by calloc() ?

    A free(); B dealloc(); Cmemalloc(variable_name,

    0)

    D malloc(variable_name, 0)

    9. Input/output function prototypes and macros are defined in which header file?

    A conio.h B stdio.h C dos.h D stdlib.h

    10. Can you use the fprintf() to display the output on the screen?

    A Cant Say B No C Yes D None

    11. Which of the following cannot be checked in a switch-case statement?

    A Integer B Character C enum D Float

    12. The keyword used to transfer control from a function back to the calling functionis

    A return B switch C goto D go back

    13. Which of the following correctly shows the hierarchy of arithmetic operations in

    C?

    A + - / * B / * + - C * - / + D / + * -

    14. How will you print \n on the screen?

    A echo

    "\\n";

    B printf("\n"); C printf("\\n"); D printf('\n');

    15. Which of the following function is more appropriate for reading in a multi-word

    string?

    A scanf(); B printf(); C puts(); D gets();

    16. Which of the following is not the member of class?

    http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/https://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/https://www.facebook.com/LatestOffCampushttps://groups.google.com/group/latestoffcampushttp://www.latestoffcampus.com/http://groups.google.com/group/latestoffcampus/subscribehttp://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/
  • 7/29/2019 Mindfire Solutions Sample Programming Placement Paper Level1

    3/5

    Visitwww.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates

    To Get 24*7 Updates Via Facebook Like Us @http://www.facebook.com/LatestOffCampus

    To Get Free Job Updates To Your mail Join US @http://groups.google.com/group/latestoffcampus/subscribe

    Visitwww.latestoffcampus.comfor placement papers, interview tips & job updates. To get

    free updates to mailhttps://groups.google.com/group/latestoffcampus Live updates on

    Facebook @https://www.facebook.com/LatestOffCampus

    A Friend

    function

    B Static function C Const function D Virtual function

    17. How many types of polymorphisms are supported by C++?

    A 1 B 2 C 3 D 4

    18. Which of the following concepts means wrapping up of data and functionstogether?

    A Inheritance BEncapsulation C Polymorphism D Abstraction

    19. Which of the following ways are legal to access a class data member using this

    pointer?

    A *this-x B *this.x C this->x D this.x

    20. Which of the following header file includes definition of cin and cout?

    A istream.h B ostream.h C iomanip.h D iostream.h

    21. Which of the following access specifier is used as a default in a class definition?

    A private B friend C public D protected

    22. Which of the following access specifies is used in a class definition by default?

    A Friend B Private C Protected D Public

    23. How many objects can be created from an abstract class?

    A As many B Two C Zero D One

    24. Reference is like a _____.

    A Enum B Macro C Structure D Pointer

    http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/https://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/https://www.facebook.com/LatestOffCampushttps://groups.google.com/group/latestoffcampushttp://www.latestoffcampus.com/http://groups.google.com/group/latestoffcampus/subscribehttp://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/
  • 7/29/2019 Mindfire Solutions Sample Programming Placement Paper Level1

    4/5

    Visitwww.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates

    To Get 24*7 Updates Via Facebook Like Us @http://www.facebook.com/LatestOffCampus

    To Get Free Job Updates To Your mail Join US @http://groups.google.com/group/latestoffcampus/subscribe

    Visitwww.latestoffcampus.comfor placement papers, interview tips & job updates. To get

    free updates to mailhttps://groups.google.com/group/latestoffcampus Live updates on

    Facebook @https://www.facebook.com/LatestOffCampus

    25. A reference is declared using the _____ symbol.

    A & B || C && D !

    26. Which of the following utilities can be used to compile managed assemblies into

    processor-specific native code?

    A dumpbin B ngen C sn D gacutil

    27. Which of the following is NOT a Bitwise operator in C#.NET?

    A ~ B & C

  • 7/29/2019 Mindfire Solutions Sample Programming Placement Paper Level1

    5/5

    Visitwww.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates

    To Get 24*7 Updates Via Facebook Like Us @http://www.facebook.com/LatestOffCampus

    To Get Free Job Updates To Your mail Join US @http://groups.google.com/group/latestoffcampus/subscribe

    Visitwww.latestoffcampus.comfor placement papers, interview tips & job updates. To get

    free updates to mailhttps://groups.google.com/group/latestoffcampus Live updates on

    Facebook @https://www.facebook.com/LatestOffCampus

    A protected B transient C public D private

    34. What is the name of the method used to start a thread execution?

    A run(); B start(); C resume(); D init();

    35. Which interface does java.util.Hashtable implement?

    A

    Java.util.HashTa

    ble

    B Java.util.List C Java.util.Map D Java.util.Collection

    36. Which is valid declaration of a float?

    A float f = "1"; B float f = 1.0; C float f = 1.0d; D float f = 1F;

    http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://www.facebook.com/LatestOffCampushttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://groups.google.com/group/latestoffcampus/subscribehttp://www.latestoffcampus.com/http://www.latestoffcampus.com/http://www.latestoffcampus.com/https://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://groups.google.com/group/latestoffcampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttps://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/https://www.facebook.com/LatestOffCampushttps://groups.google.com/group/latestoffcampushttp://www.latestoffcampus.com/http://groups.google.com/group/latestoffcampus/subscribehttp://www.facebook.com/LatestOffCampushttp://www.latestoffcampus.com/