LawMint Sign in

Himachal Pradesh SET (HP SET) Programming Languages and Computer Graphics Previous Year Questions

Try the preview and open any solution for a worked explanation.

Himachal Pradesh SET (HP SET) practice pack

The practice pack for Himachal Pradesh SET (HP SET) is coming soon to LawMint.

Question 1

Given below are two statements :
(I) An abstract class is designed only to act as a base class to be inherited by other classes.
(II) An abstract class is one that is not used to create objects.
Which statements are correct?

Select one answer

Question 2

At a fixed electron impact energy, the amount of light emitted by the phosphor coating depends on the:

Select one answer

Question 3

What does the following statement mean in C/C++ language?
int(*p()) [];

Select one answer

Question 4

The common properties of functional languages and logical programming language :

Select one answer

Question 5

Arrange the following states of a servlet's life cycle :
(i) Servlet instance is created
(ii) Servlet class is loaded
(iii) Service method is invoked
(iv) init method is invoked
(v) Destroy method is invoked

Select one answer

Question 6

Match List-I with List-II:

List-IList-II
(a) User Defined Type(i) Qualifier
(b) Built in Type(ii) Structure
(c) Derived Type(iii) Void
(d) const(iv) Pointer
Select one answer

Question 7

Given the following statements with respect to transformations :
(i) Two successive translations are additive.
(ii) Two successive rotations are additive.
(iii) Two successive scaling operations are multiplicative.
How many of these statements are true?

Select one answer

Question 8

How many of the following are components of a CRT?
(i) Electron Gun
(ii) Control Electrode
(iii) Focusing electrode
(iv) Phosphor coated screen

Select one answer

Question 9

Choose the best alternative:
(I) The value of a local static variable persists between different function calls.
(II) If no storage class is specified during declaration of a variable, it is automatically assigned to static storage class.

Select one answer

Question 10

Which file open mode would be used to write data only to the end of an existing file ?

Select one answer

Continue practising

The practice pack for Himachal Pradesh SET (HP SET) is coming soon to LawMint.

Himachal Pradesh SET (HP SET) practice pack

The practice pack for Himachal Pradesh SET (HP SET) is coming soon to LawMint.