Rajasthan SET (RSET) Programming Languages and Computer Graphics Previous Year Questions
Try the preview and open any solution for a worked explanation.
Rajasthan SET (RSET) practice pack
The practice pack for Rajasthan SET (RSET) is coming soon to LawMint.
Question 1
A window is defined by (0, 0) and (100, 100) and a viewport is defined by (0, 0) and (200, 200). The viewport coordinates corresponding to the window point (25, 50) are
Question 2
What happens if a constructor throws an exception before the object is fully constructed ?
Question 3
Which character symbol is required as first non-whitespace character to initiate a preprocessor directive statement in C ?
Question 4
A programming language allows the following :
X = 10
X = “Hello”
X = 3.14
The ability of variable X to be associated with different data types during execution is known as :
Question 5
What is the correct sequence of the 3D viewing pipeline ?
Question 6
What is the output ?
try
{
try
{
throw 5;
}
catch(int)
{
cout << "A";
throw;
}
}
catch(...)
{
cout << "B";
}Question 7
What is a major advantage of Bresenham’s line drawing algorithm over the Digital Differential Analyzer (DDA) Algorithm ?
Question 8
Which operation is commonly used in Cohen-Sutherland clipping ?
Question 9
What does the following C program print?
#include <stdio.h>
void hello(int *i, int *j) {
*i = *i + *j;
*j = *i + *j;
}
int main(void) {
int x = 5;
hello(&x, &x);
printf("%d", x);
return 0;
}
Question 10
Which of the following is not correct in terms of assembly languages ?
1. Assembly language is a low-level programming language.
2. It consists of mnemonic codes.
3. It acts as a bridge between machine level and human understandable language.
Previous papers with Programming Languages and Computer Graphics questions
Rajasthan SET (RSET) practice pack
The practice pack for Rajasthan SET (RSET) is coming soon to LawMint.