Write a program to gets 10 numbers from the user and counts how many of those numbers are greater than 10.
write a program to print the product of given two numbers.
Consider the following sentences:
a. John likes all kinds of food.
b. Apples are food.
c. Chicken is food.
d. Anything anyone eats and isn’t liked by is food.
e. Bill eats peanuts and is still alive.
f. Sue eats everything Bill eats.
Translate these sentences into predicate logic
Prove that John likes peanuts using resolution
AI
Q. Express the following as semantic net with interconnected nodes and labelled arcs: Company ABC is a software development company. Three departments within thecompany are Sales, Administration and Programming. Joe is a manager of programming. Bill and Sue are programmer. Sue is married to Sam. Sam is editor of PHI. They have three children and they live on Elim street. Sue wears glasses and is 5.5 feet tall.
AI
Q. Express the following as semantic net with interconnected nodes and labelled arcs: Company ABC is a software development company. Three departments within thecompany are Sales, Administration and Programming. Joe is a manager of programming. Bill and Sue are programmer. Sue is married to Sam. Sam is editor of PHI. They have three children and they live on Elim street. Sue wears glasses and is 5.5 feet tall.
Artificial inteligence
Q. Solve the following equation using genetic algorithm upto maximum 2 iterations:
Max Y= 3X2+2X+5 1<=X<=7
Implement a program in java program that lists matching products for a user who is looking for T-shirts.
you are given 3 CSV files each containing the T-shirts data fir Nike, puma and Adidas respectively. Sample CSV files links Are attached here for reference. You can add more data in existing files or can add more CSV files for another companies.
CSV FILE DATA:
ID, NAME, COLOUR, GENDER_RECOMMENDATION, SIZE, PRICE, RATING, AVAILABILITY.
Task:
Draw a structured flowchart or write pseudocode describing the logic of the following scenarios:
Move the robot to start from a sitting position in a corner, cross the room, and end up standing outside the room behind the door.
Allow the robot to start from a sitting position in one chair, stand up, cross the room, close the door and, return to the chair, and sit.
Write a C++ program to calculate product of digits of a number.
Write a C++ program and flowchart to calculate sum of digits of a number.