Ques # :17 Let A=B=Z, and C be the set of even integers. Let f : A → B and g : B → C be defined by f(a) = a+1, g(b) = 2b. Then the composition of f and g defined as g ∘ f will be equal to
Asked in RPSC 23Feb 2016Question Paper for VicePrincipal/Superintendent ITI Screening Test 2012(Information Technology)VICE PRINCIPAL/SUPDT. ITI - 2012
Answer under review: our editors are checking this question. Try the other RPSC Prelims previous year questions questions meanwhile.
More RPSC Prelims previous year questions questions
- Ques # :18 Consider an undirected random graph of eight vertices. The probability that there is an edge between a pair of vertices is 1/2. What is the expected number of unordered cycles of length three?
- Ques # :19 The number of leaf nodes in a complete binary tree of depth d is
- Ques # :21 What does the following declaration mean? int (*ptr)[10];
- Ques # :22 What will be the output of the program ? #include<stdio.h> int main() { int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m); return 0; }
- Ques # :23 Which of the following is not a valid variable name declaration?
- Ques # :24 Read the following statements for a program in C? A. Keyword "extern" is used to indicate the functions/ variables defined in another file but used in the current file. B. In case, an external variable and local (automatic) variables use the same identifier, the external variable will have precedence over the local variable if scope resolution operator is not used. Which is correct option with regard to the two statement ?
- Ques # :25 In a C program, one student writes float a; a=5/3;. The other student writes; float a; a=5.0/3;. What will be the value of "a" if printed using printf function ?
- Ques #: 27 Assume a singly linked list with head and tail pointer (i.e., pointers to the first last nodes in the list). Given that representation, which of the following operations could be implemented in O(1) time? I. Insert item at the front of the list II. Insert item at the rear of the list III. Delete front item from list IV. Delete item from rear of list 1) I and II 2) I and III 3) I, II, and III 4) I, II, and IV