Gujarat SET (GSET) Programming Languages and Computer Graphics Previous Year Questions
Try the preview and open any solution for a worked explanation.
Gujarat SET (GSET) practice pack
The practice pack for Gujarat SET (GSET) is coming soon to LawMint.
Question 1
When an array is passed as an argument to a function, what gets actually passed?
Question 2
What will be the output of the following C code?
void main()
{
int a = 1, b = 0, c = 5;
int x = a && b && c++;
printf("%d", c);
}Question 3
Which feature of OOP promotes code reusability?
Question 4
What will be the output of the following C++ code?
int main()
{
int x = 5, y = 5, z;
x = ++x; y = --y;
z = x++ + y--;
cout << z;
return 0;
}Question 5
What will be the output of the following Java code?
class leftshift_operator
{
public static void main(String args[])
{
byte a = 64;
int i;
byte b;
i = a << 2;
b = (byte) (a << 2);
System.out.print(i + " " + b);
}
}Question 6
Which of the following is NOT related to XML?
Question 7
Which operation is used to zoom in or out around any axis on a three-dimensional object from its original position?
Question 8
While plotting a line with end points (20, 10) and (30, 18) using Bresenham’s Line Drawing Algorithm, which of the following pixels will NOT be a point on the line?
Question 9
What will be the final coordinates after rotation of the point P(2, 3, 4) at 90° about X-axis?
Question 10
Match the following and select a most appropriate option.
| a. Define the structure and allowed content of XML documents | 1. SAX |
| b. To transform XML documents into other formats | 2. DTD/XML Schema |
| c. An event-driven parser | 3. XSLT |
| d. A language for navigating and selecting nodes in an XML document | 4. XPath |
Previous papers with Programming Languages and Computer Graphics questions
Gujarat SET (GSET) practice pack
The practice pack for Gujarat SET (GSET) is coming soon to LawMint.