Posts

Showing posts from August, 2025

Smoke Testing vs Sanity Testing vs Regression Testing

Image
Smoke Testing Definition: Smoke testing is a quick check that the basic and critical functions of an application work after a new build or deployment. It answers: “Is the build stable enough for deeper testing?” Key Points Executed immediately after a new build is deployed. Covers core paths only — broad but shallow. If it fails, the build is rejected; no further testing proceeds. Often automated in CI/CD; sometimes run by developers or QA. Analogy Like turning on a new appliance: if you see smoke, you don’t test every feature. Example (E-commerce) App starts and homepage loads. User can log in / sign up. Search returns results. Item can be added to cart. Checkout can be initiated. Smoke vs. Sanity vs. Regression Testing Sanity Testing Purpose: Verify a...

Processor Types and Specifications

Image
2020-02 Which of the following is/are TRUE regarding the Von Neumann architecture? Single Instruction, Multiple Data (SIMD) Single Program, Multiple Data (SPMD) Single Instruction Stream, Single Data Stream (SISD) Multiple Instruction, Multiple Data (MIMD) Multiple Instruction, Single Data (MISD) Solution The correct option regarding the Von Neumann architecture is (c) Single Instruction Stream, Single Data Stream (SISD) . The Von Neumann architecture is a foundational computer architecture where both data and instructions are stored in the same memory space. This architecture is characterized by a single processing unit that executes instructions sequentially, one at a time, and processes data from a single stream. This aligns with the definition of SISD (Single Instruction, Single Data) in Flynn's Taxonomy, which categorizes computer architectures based on their instruction and data strea...

Setting up a Codeigniter project

Image
Go to C:\xampp\htdocs directory Right click and open in terminal or open command line interface Run composer create-project codeigniter4/appstarter bookshop Go to C:\Windows\System32\drivers\etc\hosts open in text editor (with admin rights) Add 127.0.0.1 bookshop.local and save Go to C:\xampp\apache\conf\extras\httpd-vhosts.conf open in text editor (with admin rights) Add <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/bookshop" ServerName bookshop.local <Directory "C:/xampp/htdocs/bookshop">           Require all granted         AllowOverride All     </Directory> </VirtualHost> Or <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/bookshop/public" ServerName bookshop.local </VirtualHost> Restart Xampp if needed Go to project folder C:\xampp\htdocs\bookshop Open env file Change production to development # E...

Information Systems First Question

Image
2020-01 What are the four major categories that computing hardware devices can be categorized into based on the functions that they can perform? Input, Editing, Storage, Output Input, Output, Processing, Storage Editing, Copying, Pasting, Storage Entering, Editing, Pasting, Copying Entering, Saving, Processing, Output Solution The four major categories that computing hardware devices can be categorized into based on the functions that they can perform are Input, Output, Processing, and Storage. [1] Therefore, the correct option is (b). 2021-01 Which of the following statements is/are CORRECT regarding computer hardware? They are used to perform input, process, storage and output activities. Very-low resolution display units are used to show extremely detailed graphical information. Smartphones cannot be considered computer hardware. Embedded cameras on laptop computers ar...

Google SMTP with Codeigniter

Image
Google SMTP Configuration A simple guide to setting up Google's SMTP for sending emails. Step 1: Get an App Password To use Google's SMTP, you must use a specific App Password instead of your regular Google password. You can generate one by following these steps: Go to your Google Account settings . Navigate to Security . Security Find 2-Step Verification and make sure it's turned On . This is a requirement. Under the "Signing in to Google" section, find App Passwords . Or search it like below. Select a name for your app (e.g., "My Web App") or create one, and click "Generate"...

Contrapositive (in mathematics and logics)

The Contrapositive: An Interactive Guide Unlock a fundamental concept in logic and math. What is a Contrapositive? In logic, every conditional statement of the form "If P, then Q" has a special partner called the contrapositive . The most important thing to remember is that a statement and its contrapositive are logically equivalent — if one is true, the other is guaranteed to be true as well. A conditional statement has two parts: the hypothesis (P) and the conclusion (Q) . To get the contrapositive, you simply swap the hypothesis and conclusion, and then negate both of them. Original Statement P → Q "If P, then Q" ...

Introductory Mathematics 1, 2 & 3

Image
2021-01 If the perimeter of a rectangle is 160 cm and its length is 50 cm, then its diagonal is \(50\) cm \(10\sqrt{34}\) cm \(40\) cm \(10\sqrt{41}\) cm \(30\) cm Solution Find the width of the rectangle: The perimeter of a rectangle is given by the formula \(P=2(l+w)\), where \(l\) is the length and \(w\) is the width. Given \(P=160\) cm and \(l=50\) cm. Substitute the values into the formula: \(160=2(50+w)\). Divide both sides by 2: \(80=50+w\). Subtract 50 from both sides: \(w=30\) cm. Calculate the diagonal using the Pythagorean theorem: The diagonal of a rectangle forms a right-angled triangle with the length and width as the other two sides. Using the Pythagorean theorem, \(d^{2}=l^{2}+w^{2}\)...