wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming and Logic

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

In ladder logic programming, what does a normally closed contact represent?

a)

A contact that passes power when its corresponding bit is 0

b)

A contact that passes power when its corresponding bit is 1

c)

A contact that stores energy

d)

A contact that delays signal transmission

2.

What is the output of the Boolean expression (A AND B) OR (NOT A AND C) when A=1, B=0, and C=1?

a)

0

b)

1

c)

Undefined

d)

Neither 0 nor 1

3.

What programming structure would you use to repeat a sequence of operations until a specific condition is met?

a)

If-then statement

b)

Case statement

c)

Loop structure

d)

Subroutine

4.

In sequential function chart programming, what element represents a stable state where actions can be performed?

a)

Transition

b)

Step

c)

Action

d)

Branch

5.

Which statement about structured text programming is correct?

a)

It is a graphical programming language

b)

It resembles traditional text-based programming languages

c)

It cannot be used with PLCs

d)

It is the same as ladder logic

6.

What is a key characteristic of a PLC scan cycle?

a)

It processes inputs and outputs simultaneously

b)

It processes all logic in a non-sequential manner

c)

It sequentially reads inputs, executes logic, and updates outputs

d)

It updates outputs before reading inputs

7.

What does the timer instruction TON represent in ladder logic?

a)

Timer Off Delay

b)

Timer On Delay

c)

Timer Off No delay

d)

Timer On Network

8.

Which data type would be most appropriate for storing a motor speed value of 1750 RPM in a PLC?

a)

Boolean

b)

Integer

c)

String

d)

Floating-point

9.

What data type is used to represent true or false values?

a)

Boolean

b)

Integer

c)

String

d)

Floating-point

10.

What are sub-routines in PLC programming used for?

a)

Replacing the main program

b)

Creating reusable code segments

c)

Storing memory variables

d)

Communicating with external devices

11.

In industrial programming, what is a "rung" in ladder logic?

a)

A complete program

b)

A single horizontal line of logic

c)

A timer function

d)

A network communication protocol