Complete GATE CSE 2018 Paper 1 overview, original pages and practice · Timed previous-paper practice

Questions 10–12 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 4 of 22

Question 10

Open question
GAMCQ2 marksNeeds review
A six sided unbiased die with four green faces and two red faces is rolled seven times. Which of the following combinations is the most likely outcome of the experiment?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 1

Open question
CSMCQ1 markNeeds review
Which one of the following is a closed form expression for the generating function of the sequence

, where

for all

?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 2

Open question
CSMCQ1 markNeeds review
Consider the following C program:
#include<stdio.h>
struct Uronde{
char x,y,z;
};

int main(){
struct Uronde p = {'1', '0', 'a'+2};
struct Uronde *q = &p;
printf("%c, %c", *((char*)q+1), *((char*)q+2));
return 0;
}
The output of this program is:
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer