HW 3 - Adept - Data Types and Operators

HW 3 - Adept - Data Types and Operators - MFET 248...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
MFET 248 Homework page 1 of 2 MFET 248 Automated Manufacturing III Homework #3 Spring 2010 Name ( Last, First ) ___________________________________________________________ Read the chapter entitled “Data Types and Operators” (pp. 100 to 117) in Adept’s “V+ Language User’s Guide” and then answer the questions shown below. The “V+ Language User’s Guide” has been posted on the MFET 248 web site (on the “Lab Assignments” page). 1) True or false: V+ requires that all variables be declared in the main program. Answer: ____________________ 2) Which of the following V+ variable names are NOT valid: (a) 3d1p (b) counter_1 (c) failed.disk (d) x 3) String variables in V+ must start with what character? Answer: ____________________ 4) Fill in the blank: String variables can contain from 0 to ________________ characters. 5) Fill in the blank: The following V+ command will assign the hexadecimal number 1A5 to the real variable named “mask”: mask = _____________________________
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

HW 3 - Adept - Data Types and Operators - MFET 248...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online