From the following problems, identify which problems are suitable for deterministic computing and which problems are suitable for probabilistic computing.
- Face recognition system for attendance
- Account management of an organisation
- Customer database in bank
- Product recommendations to customers
- Calculations for satellite launching system
- Predicting disease in plants
- Student behaviour analysis system
Answer
The problems are classified below:
| Deterministic Computing | Probabilistic Computing |
|---|---|
| Account management of an organisation | Face recognition system for attendance |
| Customer database in bank | Product recommendations to customers |
| Calculations for satellite launching system | Predicting disease in plants |
| Student behaviour analysis system |
OR gate produces '1' if at least one input is '1'.
Answer
True
Reason — OR gate produces output '1' when at least one of the inputs is '1', it produces '0' only when both inputs are '0', as shown in the OR gate truth table:
| Input X | Input Y | Output (X + Y) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
Binary logic is the base of all types of computing.
Answer
True
Reason — Binary logic, which uses 1s and 0s, is the basis of modern computing, and that all modern computing techniques still use binary logic at the backend, even for advanced systems like AI.
Assembly language is less readable as compared to binary language.
Answer
False
Reason — Assembly language was developed to provide a more readable representation of machine code or binary code for humans. Binary language consists only of 0s and 1s and is less readable, whereas assembly language uses symbols and mnemonics, making it relatively easier for humans to understand.
Recently used programming languages are high level languages.
Answer
True
Reason — High-level programming languages, such as Fortran, COBOL, and C, Py were developed to facilitate the programming process and improve the readability of source code. These languages helped in hiding a large number of low-level details and provided libraries and functions to accelerate the development process. Hence, the programming languages used in recent times are high-level languages.
Deterministic computing is non adaptable.
Answer
True
Reason — Deterministic computing is dependent on predefined algorithms or sets of rules and does not allow variation or adaptability during execution. Hence, deterministic computing is non-adaptable.
Machine learning is possible due to the availability of data.
Answer
True
Reason — Machine learning is possible due to the availability of data, because learning from observations and updating models require data.
Prediction of diabetes in a person based on his life style is an example of AI-based computing.
Answer
True
Reason — Predicting diabetes based on a person’s lifestyle involves analysing data, recognising patterns, and making predictions, which are characteristics of AI-based computing.
AI has a computing paradigm that has solutions to all kinds of problems.
Answer
False
Reason — AI is not needed everywhere and is not suitable for all kinds of problems. For simple, rule-based, deterministic problems, classical algorithms or deterministic computing are more appropriate and efficient than AI.
Probabilistic computing would be more suitable in the given problem: "Decide whether customers will be satisfied with a newly launched product or not".
Answer
True
Reason — Probabilistic computing is more suitable for real-life problems involving uncertainty, human behaviour, and prediction. Deciding whether customers will be satisfied with a newly launched product depends on data analysis, past trends, and uncertain factors, which makes probabilistic computing more appropriate.
Adaptive behaviour is one of the characteristics of deterministic computing.
Answer
False
Reason — Deterministic computing is non-adaptable because it depends on predefined rules and algorithms and does not allow variation or adaptability during execution. Hence, adaptive behaviour is not a characteristic of deterministic computing.
Digital circuits work on which of the following?
- Decimal logic
- Binary logic
- Both a and b
- None of these
Answer
Binary logic
Reason — Digital circuits are based on binary logic and use binary signals (0 and 1) through logic gates to perform logical functions and process information.
Which is true for X-OR gate?
- It gives '1' when both inputs are '1'.
- It gives '1' when both inputs are '0'.
- It gives '1' when one input is '1' and other input is '0'.
- None of these
Answer
It gives '1' when one input is '1' and other input is '0'.
Reason — The X-OR gate produces output '1' when both inputs are complement to each other, and produces '0' when both inputs are the same.
In AND gate, if one input is '1', then what would be the value of other input to get '1' as the output?
- 0
- 1
- Any
- None of these
Answer
1
Reason — An AND gate produces output '1' only when both inputs are '1'. Therefore, if one input is already '1', the other input must also be '1' to get output '1'.
From the following, which is not a characteristic of deterministic computing?
- Non adaptable
- Randomness
- Accurate results
- None of these
Answer
Randomness
Reason — Randomness is not a characteristic of deterministic computing because deterministic computing does not contain random elements and always follows predefined rules and algorithms.
To adapt the changes, AI model requires ............... .
- History data
- New updated data
- Diverse data
- Old data
Answer
New updated data
Reason — AI models learn from data and adapt by updating their models using new observations. To adapt to changes, an AI model requires new and updated data for learning and improvement.
In AI, it is very essential to ............... .
- Protect sensitive data
- Use other's data
- Copy data
- Compute data
Answer
Protect sensitive data
Reason — Data privacy and ethics are very important in AI, and responsible AI development requires protecting sensitive data during data collection and usage.
Sentiment analysis from social media sites is generally done through:
- Pattern recognition
- Object detection
- Natural language processing
- Neural network
Answer
Natural language processing
Reason — Natural language processing (NLP) is used to analyse and understand textual data, such as customer reviews and social media content. Since sentiment analysis involves understanding opinions and emotions expressed in text, it is generally done using natural language processing.
The suitable computing technique for the problem of classifying temperature as hot or cool is:
- Binary Logic
- AI computing
- Deterministic computing
- Machine learning
Answer
AI computing
Reason — Classifying temperature as hot or cool requires flexibility and adaptability, because fixed threshold values used in deterministic computing may not match human judgement. AI computing learns from historical data and user behaviour, and therefore gives better results for such real-life, environment-based problems.
Which of the following is not an application of AI?
- Route planning
- Customer health monitoring
- Fraud detection
- Bank account management
Answer
Bank account management
Reason — Bank account management is a deterministic, rule-based task handled using predefined rules and algorithms, and does not require AI. Applications such as route planning, customer health monitoring, and fraud detection involve data analysis, prediction, or pattern recognition and are examples of AI-based applications.
AI is important in many real-life applications due to its ............... .
- Adaptable behaviour
- Simple computations
- Fast response
- Deterministic behaviour
Answer
Adaptable behaviour
Reason — AI is capable of learning from data, recognising patterns, and adapting to changing situations. This adaptable behaviour makes AI important for solving many real-life problems.
Fill in the blanks:
- ................ create abstraction between hardware and software.
- ................ and ................ are example of deep learning models.
- ................ is the sub domain of machine learning.
- ................ is the basis of all types of computing.
- Deterministic computing is suitable for ................ .
Answer
- Operating systems create abstraction between hardware and software.
- CNN and RNN are example of deep learning models.
- Deep learning is the sub domain of machine learning.
- Binary logic system is the basis of all types of computing.
- Deterministic computing is suitable for Simple calculations.
What do you understand by machine learning and deep learning? Explain.
Answer
Machine Learning is a technique in which computing systems learn from data and observations and improve their performance by updating models.
Deep Learning is a sub-domain of machine learning. CNN and RNN are examples of deep learning models.
Suppose you want to design a system to predict whether it would rain or not? Which computing technique would be suitable and why?
Answer
Probabilistic computing would be suitable to predict whether it would rain or not.
Weather prediction involves uncertainty and probability. Probabilistic computing uses past weather data and current atmospheric conditions to estimate the likelihood of events, such as the chance of rain, and therefore is more suitable for weather forecasting.
Explain AND, OR, and X-OR logic gates with their truth tables.
Answer
AND Gate:
The AND gate produces output '1' only when both inputs are '1'. For all other input combinations, the output is '0'.
Truth Table (AND Gate):
| Input X | Input Y | Output (X · Y) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
OR Gate:
The OR gate produces output '1' when at least one input is '1'. It produces '0' only when both inputs are '0'.
Truth Table (OR Gate):
| Input X | Input Y | Output (X + Y) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
X-OR (Exclusive OR) Gate:
The X-OR gate produces output '1' when the two inputs are different (one is '1' and the other is '0'). It produces '0' when both inputs are the same.
Truth Table (X-OR Gate):
| Input X | Input Y | Output (X ⊕ Y) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Why is binary logic system important?
Answer
The binary logic system is important because it is a big part of how computers work and how decisions are made. Binary logic, which employs a system of ones and zeros (bits) to represent and manipulate data, is the basis of modern computing. The basis of digital electronics, which is the basis of all current computer systems, is binary logic. Logic gates like AND, OR, and NOT are used to build electronic circuits. These gates use binary signals (0s and 1s) to perform logical functions and process information.
Binary logic is very important while creating and understanding digital circuits. Logic gates can be used to make circuits that perform mathematical calculations, handle signals, store and change data in binary form. This binary reasoning is the basis for how computers and microprocessors are built. Binary reasoning is also an important part of programming a computer. Programming languages use Boolean data types (true/false) and logical operators to analyse conditions and control how programs run. Decision-making systems, such as expert systems and rule-based systems, also use binary reasoning. These systems use if-then rules and logical conditions to review inputs and decide the correct actions or conclusions.
Justify with the help of an example why probabilistic computing is better than deterministic computing in solving some real-world problems.
Answer
Probabilistic computing is better than deterministic computing in solving some real-world problems because many real-life situations involve uncertainty, incomplete data, and changing conditions, which deterministic computing cannot handle effectively.
In deterministic computing, the output is completely defined by predefined rules and fixed algorithms. It does not allow flexibility or adaptability. For example, in inventory management, deterministic computing uses fixed rules based on demand and storage capacity. Once the rules are defined, the system cannot adjust itself to changes in customer demand or market conditions.
On the other hand, probabilistic computing uses past data, uncertainty, and probability to make decisions. It can learn from data and adapt to changing situations. For example, in inventory management, probabilistic computing uses past sales data, seasonal factors, promotions, and market trends to predict future demand more accurately. Using AI and machine learning algorithms, it can dynamically adjust inventory levels and respond to changes in customer behaviour.
Thus, probabilistic computing is better than deterministic computing for real-world problems because it can handle uncertainty, learn from data, adapt to changes, and provide flexible and realistic solutions, which deterministic computing fails to do in many real-life scenarios.
Justify with the help of an example why AI is not suitable for certain problems.
Answer
AI is not suitable for certain problems because not all problems require learning, adaptability, or probabilistic reasoning. For many simple and well-defined tasks, deterministic computing is more appropriate and efficient than AI.
For example, simple computations such as calculating interest, compound interest, or performing basic mathematical operations can be solved easily using predefined formulas and rules. In such cases, using AI would unnecessarily complicate the solution and consume more computational resources.
Check any two online shopping websites and observe the recommendations offered by them. List out at least five observations.
Answer
After observing recommendations on two online shopping websites, the following observations can be made:
Products are recommended based on the user’s previous searches.
Items similar to the recently viewed products are suggested.
Recommendations change according to the user’s past purchases.
Popular or trending products are displayed in the recommendation section.
Suggestions are personalised, meaning different users see different recommendations based on their behaviour and preferences.
Identify a real-world problem of your environment where you feel that AI computing is more suitable than deterministic computing.
Answer
Weather prediction is a real-world problem where AI computing is more suitable than deterministic computing.
Weather conditions depend on many uncertain factors such as temperature, humidity, wind speed, and atmospheric pressure. AI computing can analyse large amounts of past and real-time data, learn patterns, and predict the probability of events like rainfall. Deterministic computing, which works on fixed rules, cannot handle such uncertainty effectively.