vu cs402 Mid Term Subjective Solved Past Paper No.1

vu cs402 Theory of Automata Solved Past Papers

Solved Past Papers

This subjective solved past paper is related to book/course code vu cs402 Theory of Automata which belongs to vu organization. We have 3 past papers available related to the book/course Theory of Automata. This past paper has a total of 10 subjective questions belongs to topic Mid Term to get prepared. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to get prepared for exams by learning subjective questions online on NVAEducatio.

NVAEducation also facilitates users to download these solved past papers with an affordable prices. However, users are not enforced to pay for money, rather they can use credits to buy such stuff on NVAEducation. Users can earn credits for doing some little tasks and then you will be able to use that credits to buy solved past papers on NVAEducation.

Question 1: Which of the following words can't be used for naming an identifier in JavaScript?
struct
plugin
parent
package
Answer:
In JavaScript, the following word cannot be used for naming an identifier:

package
This is because package is a reserved keyword in JavaScript (although it's not currently used in the language, it is reserved for future use). Reserved keywords cannot be used as identifiers for variables, functions, or any other entities.
Question 2: Which statement is wrong for naming an identifier?
Answer:
Identifiers are names used by JavaScript to refer to variables, objects, properties, methods, and functions. An identifier must begin with an alphabetical character (a-z or A-Z), underscore "_" character or $ character. Subsequent characters can be an alphabetical (a-z or A-B) or numeric character (0-9) or an underscore
Question 4: What is principle of friendship in the context of functions and classes?
Answer:
Class can declare a friend function and someone from outside the class cannot declare itself friend of a class. A friend function can access the private variables of class just like a member function
Question 6: Define implied operand?
Answer:
It is always in a particular register say the accumulator. It needs to not be mentioned in the instruction.

Solved Past Papers of cs402 Theory of Automata

Other cs related subjective solved past papers

Other categories of vu Solved Past Papers

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background