Search Header Logo

PLC Question Banks

Authored by Ong Ong Lee Yeng

Computers

1st Grade

Used 13+ times

PLC Question Banks
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In this phase, token arrangements are checked against the source code grammar.

Lexical Analyzer

Syntax Analyzer

Semantic Analyzer

Code Generator

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This phase scans the source code as a stream of characters and converts it into meaningful lexemes.

Lexical Analyzer

Syntax Analyzer

Semantic Analyzer

Code Generator

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It is a part of operating system and is responsible for loading executable files into memory and execute them.

Loader

Interpreter

Cross-compiler

Preprocessor

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It is a tool that produces input for compilers.

Loader

Interpreter

Cross-compiler

Preprocessor

5.

MULTIPLE CHOICE QUESTION

45 sec • 12 pts

In this phase, it takes the optimized representation of the intermediate code and maps it to the target machine language.

Lexical Analyzer

Syntax Analyzer

Semantic Analyzer

Code Generator

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It checks whether the parse tree constructed follows the rules of language.

Lexical Analyzer

Syntax Analyzer

Semantic Analyzer

Code Generator

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It explains what can be a token, and these are defined using regular expressions (e.g., [A-Z a-z 0-9]+ for identifier).

Lexemes

Tokens

Symbols

Pattern

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?