Technical Questions asked in CSC

  1. In entity relationship model of DBMS which of the following mapping cardinalities is accepted?
    1. One to one
    2. Many to Many
    3. One to many
    4. All of these
    Answer:  Option D.
  1. Which of the following data item characterstics are important in data management?
    1. Punctuation
    2. Grammar
    3. Height
    4. Spelling
    Answer: Option  A.
  2. Which of the following directive is necessarily required in a program to use cin or cout ?
    1. <iostream.h>
    2. <iomanip.h>
    3. <locale.h>
    4. None of these
    Answer: Option  A.
  3. What is function of redirection ?
    1. a stream from a file to the screen
    2. a screen from a file to the stream
    3. Both A and B
    4. None of these
    Answer: Option  A.
  4. Observe the following code and chose the right statement class Circle: public Shape
    {
    Point center; int radius; public:
    Circle(Point, int); // follow this line void draw();
    void rotate(int) { }
    };
    1. Circle(Point, int) is a default constructor in Circle Class
    2. Circle(Point, int) is a user defined structure in Circle class
    3. Circle(Point, int) is a method declaration in Circle class
    4. Circle(Point, int) is a parameterized constructor
    Answer: Option  D.
  5. Bankers algorithm for resource allocation deals with -
    1. deadlock prevention
    2. deadlock avoidance
    3. deadlock recovery
    4. mutual exclusion
    Answer: Option B
Views:18403