Questions 11–20 of 160. Imported answers require independent review unless marked reviewed.

Topic practice 160 questionsPage 2 of 16

Question 27

Open question
CSMSQ1 markNeeds review
Consider the following C statements:
char *str = "Hello; /* Statement S1 */
char *str2 = "Hello;"; /* Statement S2 */
int *str3 = "Hello; /* Statement S3 */
Which of the following options is/are correct?
Your answerSelect all correct options. You can choose more than one.

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 27

Open question
CS2MSQ1 markNeeds review
For a real number

, let

. Which of the following statements is/are true?
Your answerSelect all correct options. You can choose more than one.

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 28

Open question
CSMSQ1 markNeeds review
Which of the following statements is/are true?
Your answerSelect all correct options. You can choose more than one.

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 28

Open question
CS2MSQ1 markNeeds review
In a system, numbers are represented using 4-bit two’s complement form. Consider four numbers

,

,

and

in the system. Which of the following operations will result in arithmetic overflow?
Your answerSelect all correct options. You can choose more than one.

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 29

Open question
CSMSQ1 markNeeds review
With respect to deadlocks in an operating system, which of the following statements is/are FALSE?
Your answerSelect all correct options. You can choose more than one.

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 29

Open question
CS2MSQ1 markNeeds review
Which of the following grammars is/are ambiguous?
Your answerSelect all correct options. You can choose more than one.

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 30

Open question
CSMSQ1 markNeeds review
Let

,

,

and

be the attributes of a relation in a relational schema. Let

indicate functional dependency in the context of a relational database, where

.
Which of the following options is/are always true?
Your answerSelect all correct options. You can choose more than one.

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 31

Open question
CSMSQ1 markNeeds review
In the context of relational database normalization, which of the following statements is/are true?
Your answerSelect all correct options. You can choose more than one.

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 46

Open question
CSMSQ2 marksNeeds review
Let

be defined as follows:

Which of the following statements is/are true?
Your answerSelect all correct options. You can choose more than one.

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 47

Open question
CSMSQ2 marksNeeds review
Let

be a simple, undirected graph. A vertex cover of

is a subset

such that for every

,

or

. Let the size of the smallest vertex cover in

be

. Let

be any vertex cover of size

.
For a vertex

, which of the following constraints will always ensure that

?
Your answerSelect all correct options. You can choose more than one.

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