Mid_Term_Exam_CSCI_571_AI_Spring_2010_1_

# Mid_Term_Exam_CSCI_571_AI_Spring_2010_1_ - CSCI571...

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

CSCI571 Artificial Intelligence Week6 (Mid term exam) Computer Science / UNVA Mid Term exam (15%) Name:__Patel Ankit Rameshkumar _______________ ID NO : 109003208 Select the proper answer to the following questions: Q1. What is the modulus of 49/13? a- 10 b- 1 c- 2 d- Non of the above [1 mark] A1. a Q2. Exponent of 100 to the power of two and a half is: a- 1000.0 b- 100000.0 c- 1000000.0 d- Non of the above [1 mark] A2. b Q3. What is the output of the following LISP line? > (gcd 12 24 54) a- 6 b- 24 c- 4 d- Non of the above [1 mark] A3. a Q4. Write a LISP function ( fc ) to return the corresponding Celsius temperature according to the following formula: C = (5/9) (F -32) Where C is the temperature in Celsius F is the temperature in Fahrenheit [5 marks] (defun fc(F) (*(- F 32)(/ 5 9))) ______________________________________________________________________________________ Dr Raied Salman [email protected] Office: 2303 Page 1 of 2

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

View Full Document
CSCI571 Artificial Intelligence Week6 (Mid term exam)
This is the end of the preview. Sign up to access the rest of the document.

## This document was uploaded on 02/13/2011.

### Page1 / 2

Mid_Term_Exam_CSCI_571_AI_Spring_2010_1_ - CSCI571...

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

View Full Document
Ask a homework question - tutors are online