McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) .
51. |
transaction() does not take the argument |
A. | callback |
B. | success callback |
C. | error callback |
D. | database name |
Answer» D. database name | |
Explanation: transction() and readtransaction() are the two methods that take three arguments |
52. |
Which method is used to verifythe version number? |
A. | changeversion() |
B. | readtransaction() |
C. | transaction() |
D. | executesql() |
Answer» A. changeversion() | |
Explanation: changeversion() method automatically verify version number and it also changes it like doing a schema update. when |
53. |
Which object is created for read-only transaction? |
A. | foo object |
B. | sqltransactionsync |
C. | databasesync object |
D. | sqltransaction |
Answer» B. sqltransactionsync | |
Explanation: for read-only transaction, we create the object sqltransactionsync. if the first argument is null then we throw sqlexception which is error code 0. |
54. |
insertId attribute returns |
A. | column id |
B. | row id |
C. | user’s id |
D. | database id |
Answer» B. row id | |
Explanation: insertid attribute returns the row id of the row of the inserted sqlresultset object’s sql statement that is inserted into the database. if multiple rows are inserted then the id of the last row will be returned. if there is no row then invalid_access_err exception will be raised. |
55. |
Which error is invoked when SQLTransactionCallback does not execute? |
A. | insertiid |
B. | rows |
C. | rowsaffected |
D. | length |
Answer» C. rowsaffected | |
Explanation: rowsaffected attribute returns the |
56. |
Which of the error is raised when the quantity of data is too much? |
A. | too_large_err |
B. | unknown_err |
C. | timeout_err |
D. | quota_err |
Answer» A. too_large_err | |
Explanation: when the quantity of the data returned from the database is very large then too_large_err is invoked. to minimize the data we can use sql “limit” i.e. modifier to reduce the size of the resultant set. |
57. |
What is the required argument to openDatabase? |
A. | version number |
B. | database name |
C. | size of a database |
D. | text description |
Answer» A. version number | |
Explanation: the required argument to opendatabase is version number. so it is mandatory that you should know the version number before we try to open the database. if we do not pass this argument then an exception is thrown. |
58. |
Which attribute is used for getting an individual row? |
A. | results.rows.item(i) |
B. | insertid |
C. | rowaffected |
D. | length |
Answer» A. results.rows.item(i) | |
Explanation: for getting individual row results.rows.item(i) is used, i denotes the index of the row. it will return the object representation of the row. insertid returns row id but in case of multiple rows, it returns the id of the last row. |
59. |
What incorporates data, architectural, interface, and procedural representations of the software? |
A. | design model |
B. | user’s model |
C. | mental image |
D. | system image |
Answer» A. design model | |
Explanation: the requirements specification may establish certain constraints that help to define the user of the system, but the interface design is often only incidental to the design model. |
60. |
Which of the following adds marginal sums to an existing table? |
A. | par() |
B. | prop.table() |
C. | addmargins() |
D. | quantile() |
Answer» B. prop.table() | |
Explanation: prop.table() computes proportions from a contingency table. |
61. |
Which of the following lists names of variables in a data.frame? |
A. | quantile() |
B. | names() |
C. | barchart() |
D. | par() |
Answer» A. quantile() | |
Explanation: names function is used to associate name with the value in the vector. |
62. |
Which of the following is tool for chi-square distributions? |
A. | pchisq() |
B. | chisq() |
C. | pnorm |
D. | barchart() |
Answer» C. pnorm | |
Explanation: pnorm() is tool for normal distributions. |
63. |
Which of the following groups values of a variable into larger bins? |
A. | cut |
B. | col.max(x) |
C. | stem |
D. | which.max(x) |
Answer» A. cut | |
Explanation: stem() is used to make a stemplot. |
64. |
Which of the following determine the least- squares regression line? |
A. | histo() |
B. | lm |
C. | barlm() |
D. | col.max(x) |
Answer» B. lm | |
Explanation: lm calls the lower level functions lm.fit. |
65. |
Which of the following is tool for checking normality? |
A. | qqline() |
B. | qline() |
C. | anova() |
D. | lm() |
Answer» A. qqline() | |
Explanation: qqnorm is another tool for checking normality. |
66. |
Which of the following is lattice command for producing boxplots? |
A. | plot() |
B. | bwplot() |
C. | xyplot() |
D. | barlm() |
Answer» B. bwplot() | |
Explanation: the function bwplot() makes box-and-whisker plots for numerical variables. |
67. |
Which of the following compute analysis of variance table for fitted model? |
A. | ecdf() |
B. | cum() |
C. | anova() |
D. | bwplot() |
Answer» C. anova() | |
Explanation: ecdf() builds empirical cumulative distribution function. |
68. |
Which of the following is used to find variance of all values? |
A. | var() |
B. | sd() |
C. | mean() |
D. | anova() |
Answer» A. var() | |
Explanation: sd() is used to calculate standard deviation. |
69. |
The purpose of fisher.test() is test for contingency table. |
A. | chisq |
B. | fisher |
C. | prop |
D. | stem |
Answer» B. fisher | |
Explanation: prop.test() is used to inference for 1 proportion using normal approx. |
70. |
Which of the following options are correct in terms of wavelength for the different types of IR spectrometer? |
A. | near ir: 0.8 – 2.5 mm |
B. | mid ir: 0.8 – 2.5 mm |
C. | far ir: 2.5 – 50 mm |
D. | mid ir: 50 – 100 mm |
Answer» A. near ir: 0.8 – 2.5 mm | |
Explanation: wavelength of near ir is 0.8 – |
71. |
Which of the following is not a technique for preparing solid samples in IR spectroscopy? |
A. | solids run in solution |
B. | mull technique |
C. | solid films |
D. | thin films |
Answer» D. thin films | |
Explanation: four techniques are generally used to prepare solid samples. they are: solids run in solution, mull technique, solid films and pressed pellet techniques. |
72. |
Which of the following is not used as pyroelectric material used in pyroelectric transducers in Infrared spectroscopy? |
A. | triglycine sulphate |
B. | deutrated triglycine sulphate |
C. | some polymers |
D. | tetraglycine sulphate |
Answer» D. tetraglycine sulphate | |
Explanation: pyroelectric materials are deutrated triglycine sulphate, triglycine sulphate and some polymers. they give rise to potential when subjected to a heating or cooling effect. |
73. |
spectroscopy? |
A. | expansion of gas upon heating |
B. | increase in resistance due to an increase in temperature and vice versa |
C. | temperature difference gives rise to a potential difference in the material |
D. | decrease in resistance due to an increase in temperature |
Answer» A. expansion of gas upon heating | |
Explanation: it is also known as pneumatic detector. the gases expand on heating and this in turn leads to the movement of a diaphragm just like in pneumatic sensors. |
74. |
In a solid sample treatment technique, the finely ground solid sample is mixed with mineral oil to make a thick paste which is then spread between IR transmitting windows. What is the name of this solid sample treatment technique? |
A. | pressed pellet |
B. | mull technique |
C. | solid films |
D. | solids run in solution |
Answer» B. mull technique | |
Explanation: the mentioned technique is mull technique. this method is used for qualitative analysis but not quantitative analysis. |
75. |
What is the definition of Boolean functions? |
A. | an arithmetic function with k degrees such that f:y–>yk |
B. | a special mathematical function with n degrees such that f:yn–>y |
C. | an algebraic function with n degrees such that f:xn–>x |
D. | a polynomial function with k degrees such that f:x2–>xn |
Answer» B. a special mathematical function with n degrees such that f:yn–>y | |
Explanation: a boolean function is a special mathematical function with n degrees and where y = {0,1} is the boolean domain with being a non-negative integer. it helps in describing the way in which the boolean output is derived from boolean inputs. |
76. |
F(X,Y,Z,M) = X`Y`Z`M`. The degree of the function is |
A. | 2 |
B. | 5 |
C. | 4 |
D. | 1 |
Answer» C. 4 | |
Explanation: this is a function of degree 4 from the set of ordered pairs of boolean variables to the set {0,1}. |
77. |
A value is represented by a |
A. | numerical logic |
B. | boolean algebra |
C. | arithmetic logic |
D. | boolean number |
Answer» C. arithmetic logic | |
Explanation: the variables that can have two discrete values false(0) and true(1) and the operations of logical significance are dealt with boolean algebra. |
78. |
Boolean expression. |
A. | positive |
B. | recursive |
C. | negative |
D. | boolean |
Answer» D. boolean | |
Explanation: a boolean value is given by a boolean expression which is formed by combining boolean variables and logical connectives. |
79. |
What are the canonical forms of Boolean Expressions? |
A. | or and xor |
B. | nor and xnor |
C. | max and min |
D. | som and pom |
Answer» D. som and pom | |
Explanation: there are two kinds of canonical forms for a boolean expression-> 1)sum of minterms(som) form and |
80. |
Which of the following is/are the universal logic gates? |
A. | or and nor |
B. | and |
C. | nand and nor |
D. | not |
Answer» C. nand and nor | |
Explanation: nand and nor gates are known as the universal logic gates. a universal gate is a gate which can implement any boolean function without the help of 3 basic gate types. |
81. |
The logic gate that provides high output for same inputs |
A. | not |
B. | x-nor |
C. | and |
D. | xor |
Answer» B. x-nor | |
Explanation: the logic gate which gives high output for the same inputs, otherwise low output is known as x-nor or exclusive nor gate. |
82. |
The of all the variables in direct or complemented from is a maxterm. |
A. | addition |
B. | product |
C. | moduler |
D. | subtraction |
Answer» A. addition | |
Explanation: the boolean function is expressed as a sum of the 1-minterms and the inverse of function is represented as 0- minterms. |
83. |
The quantity which has the only magnitude is called |
A. | a scalar quantity |
B. | a vector quantity |
C. | a chemical quantity |
D. | a magnitude quantity |
Answer» A. a scalar quantity | |
Explanation: a quantity which has only magnitude and no direction is called scalar quantity. example: mass |
84. |
A polar vector is one which? |
A. | gives the position of an object |
B. | tells how much and in which direction an object has changed its position |
C. | represents rotational effect |
D. | has a starting point of application |
Answer» D. has a starting point of application | |
Explanation: the vector which has a starting point or a point of application is called a polar |
85. |
Which of the following acts in accordance with right hand screw rule? |
A. | polar vector |
B. | axial vector |
C. | displacement vector |
D. | position vector |
Answer» B. axial vector | |
Explanation: the vectors which represent rotational effect and act along the axis of rotation in accordance with right hand screw rule are called axial vector. axial vector will have its direction along its axis of rotation depending on its anticlockwise or clockwise rotational effect. |
86. |
What is the magnitude of a unit vector? |
A. | it has no magnitude |
B. | zero |
C. | constant but not zero |
D. | unity |
Answer» D. unity | |
Explanation: the magnitude of a unit vector is unity. it just gives the direction of a vector. a unit vector has no units or dimensions. |
87. |
Which of the following has zero magnitude? |
A. | fixed vector |
B. | zero vector |
C. | modulus of a vector |
D. | unit vector |
Answer» B. zero vector | |
Explanation: a zero or null vector is a vector that has zero magnitude and an arbitrary direction. the velocity vector of a stationary object is a zero vector. |
88. |
Flying a bird is an example of |
A. | collinear vector |
B. | multiplication of vector |
C. | addition of vector |
D. | composition of vector |
Answer» D. composition of vector | |
Explanation: when a bird flies, it pushes the air with force in the downward direction with its wings. in accordance with newton’s law of motion, the air exerts equal and opposite |
89. |
Two forces whose magnitudes are in ratio of 3:5 give a resultant of 35N. If the angle of inclination is 60°, calculate the magnitude of each force. |
A. | 15n and35n |
B. | 15n and 25n |
C. | 10n and 15n |
D. | 20n and 5n |
Answer» B. 15n and 25n | |
Explanation: p = 3x and q = 5x r = 35n θ = 120° |
90. |
Walking off a man is an example of |
A. | resolution of forces |
B. | addition of vectors |
C. | subtraction of vectors |
D. | multiplication of vectors |
Answer» A. resolution of forces | |
Explanation: while walking, a person presses the ground with his feet slightly slanted in the backward direction. the ground exerts upon him an equal and opposite reaction. its horizontal component enables the person to move forward while the vertical component balances this weight. |
91. |
What is the extraction of the meaning of utterance? |
A. | syntactic |
B. | semantic |
C. | pragmatic |
D. | none of the mentioned |
Answer» B. semantic | |
Explanation: semantic analysis is used to extract the meaning from the group of sentences. |
92. |
What is the process of associating a FOL expression with a phrase? |
A. | interpretation |
B. | augmented reality |
C. | semantic interpretation |
D. | augmented interpretation |
Answer» C. semantic interpretation | |
Explanation: semantic interpretation is the process of associating a fol expression with a phrase. |
93. |
What is meant by compositional semantics? |
A. | determining the meaning |
B. | logical connectives |
C. | semantics |
D. | none of the mentioned |
Answer» A. determining the meaning | |
Explanation: compositional semantics is the process of determining the meaning of p*q from p, q and *. |
94. |
What is used to augment a grammar for arithmetic expression with semantics? |
A. | notation |
B. | dcg notation |
C. | constituent |
D. | all of the mentioned |
Answer» B. dcg notation | |
Explanation: dcg notation is used to augment a grammar for arithmetic expression with semantics and it is used to build a parse tree. |
95. |
How many verb tenses are there in the English language? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» C. 3 | |
Explanation: there are three types of tenses available in english language are past, present and future. |
96. |
Which is used to mediate between syntax and semantics? |
A. | form |
B. | intermediate form |
C. | grammer |
D. | all of the mentioned |
Answer» B. intermediate form | |
Explanation: none. |
97. |
What is meant by quasi-logical form? |
A. | sits between syntactic and logical form |
B. | logical connectives |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» A. sits between syntactic and logical form | |
Explanation: it can be translated into a regular first-order logical sentence, so that it sits between syntactic and logical form. |
98. |
interpretation? |
A. | logical term |
B. | complete logical sentence |
C. | both logical term & complete logical sentence |
D. | none of the mentioned |
Answer» C. both logical term & complete logical sentence | |
Explanation: some kind of sentence in the semantic interpretation can’t be logical term nor a complete logical sentence. |
99. |
What kind of interpretation is done by adding context-dependant information? |
A. | semantic |
B. | syntactic |
C. | pragmatic |
D. | none of the mentioned |
Answer» C. pragmatic | |
Explanation: none. |
100. |
Which of the following does not affect the software quality and organizational performance? |
A. | market |
B. | product |
C. | technology |
D. | people |
Answer» A. market | |
Explanation: market is a collection of competitors, stakeholders, users each having different views on the product. so it does not affect the software quality. |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.