Questions 51–60 of 975. Imported answers require independent review unless marked reviewed.

Topic practice 975 questionsPage 6 of 98

Question 26

Open question
CSMSQ1 markNeeds review
Let

be a nondeterministic finite automaton (NFA) with 6 states over a finite alphabet.
Which of the following options CANNOT be the number of states in the minimal deterministic finite automaton (DFA) that is equivalent to

?
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 26

Open question
CS2MSQ1 markNeeds review
Let

be a binary relation on the set

, where

if the product of

and

is square of an integer. Which of the following properties is/are satisfied by

?
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
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 30

Open question
CS2NAT1 markNeeds review
The keys 5, 28, 19, 15, 26, 33, 12, 17, 10 are inserted into a hash table using the hash function

. The collisions are resolved by chaining. After all the keys are inserted, the length of the longest chain is __________. (answer in integer)

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