Bissoy
Login
Get Advice on Live Video Call
Earn $ Cash $ with
consultations on Bissoy App
An expression contains relational, assignment and arithmetic operators. In the absence of parentheses, the order of evaluation will be
A
assignment, relational, arithmetic
B
arithmetic, relational, assignment
C
relational, arithmetic, assignment
D
assignment, arithmetic, relational
E
None of the above
Correct Answer:
arithmetic, relational, assignment
In a C expression using assignment operators, relational operators and arithmetic operators, the hierarchy of operations (in the absence of parenthesis) is
A
Assignment, relational, arithmetic
B
Relational, assignment, arithmetic
C
Arithmetic, assignment, relational
D
Arithmetic, relational, assignment
Consider the usual algorithm for determining whether a sequence of parentheses is balanced. Suppose that you run the algorithm on a sequence that contains 2 left parentheses and 3 right parentheses (in some order). The maximum number of parentheses that appear on the stack AT ANY ONE TIME during the computation?
A
1
B
2
C
3
D
4 or more
Consider the postfix expression 4 5 6 a b 7 8 a c, where a, b, c are operators. Operator a has higher precedence over operators b and c. Operators b and c are right associative. Then, equivalent infix expression is
A
4 a 5 6 b 7 8 a c
B
4 a 5 c 6 b 7 a 8
C
4 b 5 a 6 c 7 a 8
D
4 a 5 b 6 c 7 a 8
You are the administrator of eight SQL Server 2000 computers. You configure alerts on each server so that various problem conditions will be reported if they occur.You create 20 operators on one of the servers. You configure these operators by using the e-mail and pager contact information for the employees in your department. You configure the alerts on the server to send e-mail messages and pager messages to the appropriate operators.You need to configure the same 20 operators on the other seven servers. You want to do this with a minimum amount of administrative time.What should you do?
A
Use SQL Server Enterprise Manager to script all of the operators. Use SQL Query Analyzer to run the script on the other seven servers.
B
Detach the msdb database from the first server. Copy the database to the other seven servers. Attach the database on all eight servers.
C
Use snapshot replication to replicate the msdb database from the first server to the other seven servers.
D
Use SQL ServerEnterprise Manager on a single client computer to create the operators on each server.
Assuming the following three operators appear in an expression (without parentheses), which of the operators will be performed first?
A
&&
B
!
C
||
D
source code
In 2011, the arithmetic mean of the annual incomes of Ramesh and Suresh was Rs. 3800. The arithmetic mean of the annual incomes of Suresh and Pratap was Rs. 4800, and the arithmetic mean of the annual incomes of Pratap and Ramesh was Rs. 5800. What is the arithmetic mean of the incomes of the three?
A
Rs. 4000
B
Rs. 4200
C
Rs. 4400
D
Rs. 4800
Expression in poor amount and in inactive form of cDNA of a eukaryotic protein in Escherichia coli using its expression vector is due to
P. The absence of capping mechanism of mRNA.
Q. Codon bias.
R. Absence of polyadenylation.
S. Absence of proper glycosylation.
A
P, Q
B
Q, R
C
Q, S
D
P, S
Consider the usual algorithm for determining whether a sequence of parentheses is balanced. The maximum number of parentheses that appear on the stack AT ANY ONE TIME when the algorithm analyzes: (()(())(()))?
A
1
B
2
C
3
D
4 or more
A state government granted licences to certain private operators to run stage carriages and contract carriages. The stage carriages could run only from one fixed point to another with fixed passengers without any right to pick up passengers en route. No such restrictions were imposed on contract carriages that were required to pay higher rates of tax than stage carriage operators. The contract carriage operators challenge the discriminatory nature of tax imposed on them. In respect of the above which one of the following is correct?
A
The tax on contract carriages is discriminatory and therefore unconstitutional
B
The tax is valid as there is reasonable classification between stage carriages and contract carriages in view of the facts stated above
C
The tax is valid as the same does not directly and immediately affect business
D
The tax is invalid because it is not compensatory in nature
The system throws an error if parentheses are encountered in an infix expression evaluation algorithm.
A
True
B
False