Robotics & Artificial Intelligence
List and briefly describe three different ways of representing data visually.
Answer
Bar graph – Represents categorical data using rectangular bars, where the height of each bar shows the value or frequency of a category.
Line graph – Shows trends or changes over time by connecting data points with a continuous line.
Pie chart – Represents data as slices of a circular pie, where each slice shows the proportion of a category in the whole dataset.
Related Questions
Explain the importance of defining the problem statement in an AI project. How does it impact the project's success?
Write a Python program that performs the following operations on a tuple:
- Create a tuple with the elements: (5, 10, 15, 20, 25).
- Access and print the element at index 2.
- Convert the tuple into a list.
- Append the integer 30 to the list.
- Convert the list back into a tuple.
- Print the final tuple.
Describe the process of building a simple wheeled mobile robot and mention the key components involved.
Write a Python program that performs the following operations on a string:
- Create a string with the value "Artificial Intelligence".
- Convert the entire string to uppercase and print the result.
- Find and print the position of the substring "Intelligence" within the string.
- Replace the substring "Artificial" with "Machine" and print the new string.
- Check if the string starts with "Machine" and print the result (True/False).
- Count and print the number of occurrences of the letter 'i' in the string.