the2 - Middle East Technical University Department of...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: Middle East Technical University Department of Computer Engineering CENG 140 Fall 2010-2011 Take Home Exam 2 REGULATIONS Due date: 15 December, 2010 Monday (Not subject to postpone) Submission: Electronically. You will be submitting your program source code through a text file which you will name as the2.c by means of the COW system. Team: There is no teaming up. The homework has to be done and turned in individually. Cheating: The source(s) and the receiver(s) will receive zero and be subject to disciplinary action. PROBLEM In THE-2, your task is to write a program that evaluates logic expressions. Logic expressions consist of variables which are combined by operators. A variable’s name consists of numbers and alphabetical characters (e.g., 12a , 012345atom and atomcuk are valid variable names) with the condition that the name has to include at least one letter. Variables can take values , 1 or 2 . The operators combining variables together into a logic expression are as follows: •...
View Full Document

This note was uploaded on 01/06/2011 for the course CENG ceng 230 taught by Professor Prof.osmanwxw during the Spring '10 term at Middle East Technical University.

Page1 / 3

the2 - Middle East Technical University Department of...

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