LawMint Sign in

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?

Select one answer

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);
}
Select one answer

Question 3

Which feature of OOP promotes code reusability?

Select one answer

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;
}
Select one answer

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);
}
}
Select one answer

Question 6

Which of the following is NOT related to XML?

Select one answer

Question 7

Which operation is used to zoom in or out around any axis on a three-dimensional object from its original position?

Select one answer

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?

Select one answer

Question 9

What will be the final coordinates after rotation of the point P(2, 3, 4) at 90° about X-axis?

Select one answer

Question 10

Match the following and select a most appropriate option.

a. Define the structure and allowed content of XML documents1. SAX
b. To transform XML documents into other formats2. DTD/XML Schema
c. An event-driven parser3. XSLT
d. A language for navigating and selecting nodes in an XML document4. XPath

Select one answer

Continue practising

The practice pack for Gujarat SET (GSET) is coming soon to LawMint.

Gujarat SET (GSET) practice pack

The practice pack for Gujarat SET (GSET) is coming soon to LawMint.