Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

Create a simple MCQ quiz using pure Javascript

Create a simple MCQ quiz using pure Javascript

In this tutorial we are going to create a simple MCQ quiz using pure Javascript. We will use Javascript function checkAns() to all calculation. Complete source code given below to create  create mcq quiz programmatically so just copy and paste and create html file and open in a browser. Remember we did not use CSS (stylesheet) to enhance the look of MCQ quiz so you can customize as per your need.

Simple MCQ quiz using pure Javascript Code


<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Quiz Question</title>
</head>
<body>
<p>
<h1>MCQ</h1>
<h2>Quiz No. 1 :</h2>
India first world cup win...
</p>
<p>
<input type="radio" name="player" value="a" onclick="checkAns()">
<label>a. 1975</label><br>
<input type="radio" name="player" value="b" onclick="checkAns()">
<label>b. 1979</label><br>
<input type="radio" name="player" value="c" onclick="checkAns()">
<label>c. 1983</label><br>
<input type="radio" name="player" value="d" onclick="checkAns()">
<label>d. 1987</label><br><br>
<div id="res"></div>
</p>
<script>
function checkAns(){
let cAns="c";
let ans = document.querySelector('input[name="player"]:checked').value;
if(cAns==ans){
document.getElementById("res").innerHTML='<span style="color:green;font-Weight:bold;">You are right</span>';
}else{
document.getElementById("res").innerHTML='<span style="color:red;font-Weight:bold;">You are wrong</span>';
}
}
</script>
</body>
</html>

Simple MCQ quiz using pure Javascript Code Output

Simple MCQ quiz using pure Javascript Code Output

If you have and query or suggestion then please comment, I will reply to fix your problem, if you like our content then you can subscribe to our Youtube channel. If you want to hire me then reach us at our Fiverr.

Battle of Word Processor MS Word and its best 4 free alternative

Battle of Word Processor MS Word and its best 4 free alternative

This post is all about MS Word and its best 4 free alternative.  A battle of word processors is a comparison of the features, capabilities, and performance of different word processing software or devices.

Word Processor is a software application / program used to create, edit, format, and print text documents.  Example: Microsoft Word, Libre Office Writer, Google Docs …. 

Word Processor

Basic features Word Processor: 

  • Creating and saving documents. 
  • Text editing: Typing, selecting, copying, cutting, pasting, and deleting text. 
  • Formatting: Changing font styles, sizes, colors, alignment, and spacing. 
  • Organizing text: Using paragraphs, headings, lists, and bullets. 
  • Can use images  
  • Proof reading and editing: Checking spelling and grammar, finding synonyms, and making revisions. 
  • Creating tables, header and footer 
  • Print Preview, Printing on various Paper size like A4, letter, envelope …

Common Uses: 

  • Writing letters, reports, essays, and other documents. 
  • Creating flyers, brochures, newsletters, and presentations. 
  • Taking notes, writing summaries, and brainstorming ideas. 

Comparing Popular Word Processors 

Feature MS WORD LIBRE WRITER WPS WRITER GOOGLE DOCS ONLY OFFICE DOCS 
Platform Windows, Mac, Web Windows, Linux, Mac Windows, Linux, Mac Web Windows, Linux, Mac 
Android app Yes Collabara Office
Yes Yes Yes
iOS app No Collabara OfficeYes Yes Yes
Offline Yes Yes Yes No Yes 
File formats DOCX, ODT, PDF, RTF, etc. DOCX, ODT, PDF, RTF, etc. DOCX, ODT, PDF, RTF, etc. DOCX, ODT, PDF, RTF, etc. DOCX, ODT, PDF, RTF, etc. 
Price Paid / Subscription Free Freemium Free Free 
Ease of use 5/5 4.5/5 3/5 4/5 4.5/5 

Note: MS Word 2007 or previous edition lacks PDF, ODT … support, and web version is limited in features. In WPS Office Writer Windows version people get tons of pop up to upgrade to premium version and it also a Chinese App so there are tons of privacy concern.

For me Libre Office Writer, OnlyOffice Docs and Google Docs is the best alternative depending situation, if you know something better or have any suggestion then please comment.

Video Tutorial

 

Windows 10 alternative Zorin OS 17 Core

Windows 10 alternative Zorin OS 17 Core

Zorin team recently released Zorin Os 17 a user friendly Linux distro can be the best alternative for dying Windows 10. Windows 10 is going to dye soon and for windows 11 we need minimum intel 8th generation CPU with tpm2 supported motherboard, so instead of buying new hardware we can try Linux distro that not only perform better than windows 11 but also provide enhanced stability and security.

In this situation  Zorin OS 17 core can be best alternative as “Zorin OS is a multi-functional operating system designed specifically for Windows users who want to have easy and smooth access to Linux. It is based on Ubuntu which is the most popular Linux operating system in the world.”

Windows 10 alternative Zorin OS 17 Core

Zorin OS 17 Core

Some key highlights of the Zorin OS 17 release include:

UI/UX Improvements
Better Performance
Updated Application Suite
New Desktop Layouts

  • Zorin Menu has been revamped for a faster search experience
  • Spatial Desktop
  • Spatial Window Switcher
  • 3D desktop cube
  • advanced window tiling
  • apps now open faster, loading times are reduced, and animations are more fluid.

Windows 10 alternative Zorin OS 17 Video review

Download Zorin OS 17

Please visit Zorin Official download page by click here

Remove the Win32 print screen dialogue after Windows 11 22HD Update

Remove the Win32 print screen dialogue after Windows 11 22HD Update

Remove the Win32 print screen dialogue after Windows 11 22HD Update, Can’t print anything after clicking Print using the system dialog… since last Windows 11 update as its not generating
any preview so on printing you get only blank page.

Win32 print screen dialogue

Its due a Windows 11 update bug. To fix I have to convert  to PDF then have to print using adobe acrobat reader… ha ha …

Its not a solution to fix this open command prompt and run the command given below

reg add "HKCU\Software\Microsoft\Print\UnifiedPrintDialog" /v "PreferLegacyPrintDialog" /d 1 /t REG_DWORD /f

Its works for me, one can try at own risk.

If you found something better to fix Windows 11 Win32 print screen dialogue bug then please let me know so I can update this post or if you any suggestion then please comment.

Lava Storm 5G Dimensity D6080, 8GB RAM, 33 Watt charging

Lava Storm 5G Dimensity D6080, 8GB RAM, 33 Watt charging

Lava launched its new budget smart phone called Lava Storm 5G at very attractive price ₹11,999, The Lava Storm 5G is also an entry-level budget 5G  powered by the MediaTek Dimensity D6080 processor and has 8GB of RAM and 128GB of storage UFS 2.2 storage with 33 Watt charging.

Lava Storm 5G

Lava Storm 5G Price:

MRP : ₹14,999
Selling Price : ₹11,999
Bank Discount : up to ₹1500

Where to Buy :
Amazon : Lava Strom 5g

Here are the key specifications of the Lava Storm 5G:

  • Display: 6.78-inch FHD+ IPS display with 120Hz refresh rate with punch hole
  • Processor: Mediatek Dimensity D6080
  • CPU: Octa-core (2×2.4 GHz Cortex-A76 & 6×2.0 GHz Cortex-A55)
  • GPU: Mali-G57 MC2
  • Architecture 64 bit, Fabrication 6 nm
  • Operating system: Android 13
  • RAM: 8GB
  • Storage: 128GB
  • Rear camera: 50 MP, (wide), PDAF 8 MP, (ultrawide)
  • Front camera: 16MP
  • Fingerprint Sensor : Yes
    Fingerprint Sensor Position Side
    Other Sensors Light sensor, Proximity sensor, Accelerometer, Gyroscope
  • NFC :  No
  • GPS, GLONASS
  • Battery: 5000mAh
  • 33 W wired Charging
  • USB Type-C : Yes

Lava Storm 5G Antutu Benchmark:

  • Antutu : 420,000

Conclusion : Lava Storm 5G is entry level budget 5G phone with high screen refresh rate (to play games smoothly) , comes with nearly stock android without any bloatware. A this price it can be a decent buy …., if you budget is tight you can also go with Lava Blaze 5G its ₹2000 cheaper.

If you have and query or suggestion then please comment, I will reply to fix your problem, if you like our content then you can subscribe to our Youtube channel. If you want to hire me then reach us at our Fiverr Account.

Razorpay, Cashfree started onboarding new merchants after RBI granted PA License

Razorpay, Cashfree started onboarding new merchants after RBI granted PA License

Good news for Razorpay, Cashfree.. as The Reserve Bank of India (RBI) on Tuesday, December 19, granted Payment Aggregator (PA) licenses to several entities, including Razorpay, Cashfree Payments, Open Money, and EnKash.

Last year, the RBI asked Razorpay, Cashfree, PayU, and Paytm..which hold in-principal approvals for payment aggregator licence, to stop on-boarding new merchants till they get the final licence. The Reserve Bank of India (RBI) has lifted ban on payment aggregators Razorpay and Cashfree after almost a year.

Due to ban, CCavenue  was benefited the most as most of the Payment Aggregator was banned and so merchants was moving towards CCavenue. CCavenue was not suitable for small merchants as it charges 1200+ GST annual fee plus per transaction charges while Razor pay  and others only charge Transaction charges(2% +GST).

Do you want join Razorpay? Click here

 

Nokia G42 5G Price, Specifications and Review

Nokia G42 5G Price, Specifications and Review

Nokia G42 5G is a standout product. It comes with a robust build, comes with 2 years of android future upgrade and You feel it when you hold it – a premium-looking device with a premium in-the-hand feel for a not-so-premium price.

Here are the key specifications of the Nokia G42 5G:

  • Display: 6.56 inches HD+ IPS display with 90Hz refresh rate with water drop notch
  • Corning Gorilla Glass v3
  • Brightness : 560 nits
  • Processor: Snapdragon 480 Plus 5G
  • Architecture 64 bit, Fabrication 8nm
  • Operating system: Android 13
  • RAM: 6GB/8GB
  • Storage: 128GB/256GB
  • Rear camera: 50MP Triple AI camera ( 50 MP + 2 MP + 2 MP )
  • Front camera: 8MP
  • Fingerprint Sensor Yes
  • Fingerprint Sensor Position : Side
  • Other Sensors : Light sensor, Proximity sensor, Accelerometer
  • NFC : No
  • Infrared blaster :  No
  • Battery: 5000mAh
  • 20 Watt charger included
  • USB Type-C : Yes
  • Fingerprint sensor : Yes
  • Up to 3 years of monthly security updates, you won’t be worrying about ‘outdated protection’ any time soon.

Nokia G42 5G Benchmark:

  • Antutu : 370,000 (Antutu 9.1)

Box Contents: Nokia G42 phone, a TPU case, a 20-watt charger, cable.

Nokia G42 5G Price:

6GB / 128GB : ₹12,599

8GB / 256 GB : ₹16,999

Conclusion :

Nokia G42 5G is slick phone, comes with near stock android and you will 2 years of android upgrade and 3 years of security update, beside it has decent camera with near lag free performance and its also seems value for money. you can get also Lava Blaze 5G at low prices both are equally good.

 

What is Operating System (OS)? Definition and Functions

What is Operating System (OS)? Definition and Functions

In this post we will learn basic of operating system also known as “OS”,  definition and function of an operating system (OS). Some of definition of an operation system given below

What is Operating SystemOperating system Definition :

“An Operating System (OS) is system software that manages computer hardware and software resources, and provides common services for computer programs “.

“An Operating System (OS) is an interface between a computer user and computer hardware. An operating system is a software which performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers”.

Operating SystemObjectives of Operating Systems

  • Efficiency
  • Hardware abstraction
  • Convenience
  • System resource management

Functions of an Operating Systems

  • Resource Management: The operating system manages and allocates memory, CPU time, and other hardware resources among the various programs and processes running on the computer.
  • Process Scheduling: It is the process of determining which processes should be executed at which given time. The operating system must take into several factors for scheduling the process, such as the priority of the processes, the amount of CPU time they need, and the availability of resources.
  • Memory Management: The operating system manages the computer’s primary memory and provides mechanisms for optimizing memory usage.
  • Security & Access Control: It is the process of protecting the computer system from unauthorized access and malicious attacks. The operating system must ensure that only authorized users can access the system and that only authorized users can perform certain actions
  • Performance Monitoring: The operating system provides tools for monitoring and optimizing system performance, including identifying bottlenecks, optimizing resource usage, and analyzing system logs and metrics.
  • Error Detection & Recovery: It is the process of detecting and recovering from errors. The operating system must detect errors such as hardware failures, software bugs, and user errors. It must also recover from these errors in a way that minimizes data loss and system downtime.
  • Inter process Communication: It is the process of allowing different processes to communicate with each other. The operating system must provide mechanisms for processes to share data and resources and coordinate their activities.
  • Virtualization: The operating system provides virtualization capabilities that allow multiple operating systems or applications to run on a single physical machine. This can enable efficient use of resources and flexibility in managing workloads.

Below are the commonly used operating system:

  • Linux (Ubuntu, OpenSuse, Fedora, Garuda, BOSS, Manjaro, Deepin, Linux Mint, Pop OS,  Zorin OS, Nobara, Kali Linux …) is a free and open-source operating system and is used by millions of people around the world. It is known for its stability, security, and flexibility. Linux is a popular choice for servers, embedded systems, and personal computers
  • Windows (Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 and Windows 11) is a proprietary operating system which is developed and sold by Microsoft. It is the most popular operating system in the world, used by billions of people. Windows is known for its user-friendliness and wide range of software applications
  • MacOS is a proprietary operating system which is developed and sold by Apple. It is based on the Unix operating system and is known for its stability, performance, and design. macOS is the operating system of choice for Apple’s Mac computers.

Books on Operating System :

  • OPERATING SYSTEM CONCEPT Link
  • Modern Operating Systems, 4e Link
  • Operating System Principles Link

If you have and query or suggestion then please comment, I will try to update this post, if you like our content then you can subscribe to our Youtube channel. If you want to hire me for any website, eCommerce or any software development then you can reach us at our Fiverr Account.

Lava blaze 5G Truly Indian phone Price and Specification

Lava blaze 5G Truly Indian phone Price and Specification

Lava a truly Indian smart phone maker launched Lava Blaze 5G smart phone in India starts from ₹10,999. The Lava Blaze 5G is an entry-level 5G smartphone that was launched in India in August 2023. It is powered by the MediaTek Dimensity 700 processor and has 4GB/6GB/8GB of RAM and 64GB/128GB of storage.

Lava Blaze 5G

Lava Blaze 5G variant Price:

Here are the key specifications of the Lava Blaze 5G:

  • Display: 6.5-inch HD+ IPS display with 90Hz refresh rate with waterdrop notch
  • Processor: MediaTek Dimensity 700 MT6833 ,Octa core (2.2 GHz, Dual core, Cortex A76 + 2 GHz, Hexa Core, Cortex A55)
  • Architecture 64 bit, Fabrication 7 nm
  • Operating system: Android 13
  • RAM: 4GB/6GB/8GB
  • Storage: 64GB/128GB
  • Rear camera: 50MP main camera, 2MP macro camera, VGA depth sensor
  • Front camera: 8MP
  • Fingerprint Sensor Yes
    Fingerprint Sensor Position Side
    Other Sensors Light sensor, Proximity sensor, Accelerometer, Gyroscope
  • Battery: 5000mAh
  • TalkTime Up to 50 Hours(4G)
  • Standby time Up to 588 Hours(2G)
  • USB Type-C : Yes

Lava Blaze 5G Benchmark:

  • Antutu : 300,000
  • GeekBench Single Core : 520
  • GeekBench Multi Core : 1610

Conclusion : Lava Blaze 5G is entry level 5G phone with high screen refresh rate (to play games smoothly) , comes with nearly stock android without any bloatware so one can consider this hang free smart phone to Buy.

Where to buy Lava Blaze 5G :

Buy at amazon

LIC Commission Calculator Btech CSE Mini Project

LIC Commission Calculator Btech CSE Mini Project

LIC Agent commission calculator mini project for B tech CSE , using HTML5 and pure JavaScript we can easily complete this project . First we need to understand how agent commission calculated ..

Calculating LIC (Life Insurance Corporation of India) agent commission involves several factors, including the type of insurance policy, the premium amount, and the commission rate. As of my last update in September 2021, LIC’s commission rates were as follows:

  1. Endowment Plans: 25% of the premium for the first year and 2.5% for the second and third years.
  2. Single Premium Endowment Plans: 2% of the premium amount.
  3. Term Assurance Plans: 7.5% of the premium for the first year and 2.5% for the second and third years.
  4. Health Insurance Plans: 7.5% of the premium for the first year and 5% for renewals.
  5. Other plans: The commission rates may vary, and you should check with LIC for specific details.

LIC Agent Commission Demo




Source Code :

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LIC Commission</title>
</head>
<body>
<h1 style="font-size:22px;">LIC Commission calculator</h1>
<input type="text" id="instP" placeholder="Installment Premium *" required/><br/>
<input type="text" id="ppt" placeholder="Enter Paying Term *" required/>
<br/>
<button onclick="calc()" >Calculate</button>
<br/>
<div id="total"></div>
<div id="bonus"></div>
<div id="tbonus"></div>
<script>
var instP=document.getElementById("instP").value;
var ppt=document.getElementById("ppt").value;
var firstYr, secTh, total, bonus,tbonus;
var ryr=(ppt-3)*12;
bonus=parseFloat(instP*0.1*12);
firstYr=parseFloat(instP*0.25*12);
secTh=parseFloat(instP*0.075*24);
remYr=parseFloat(instP*0.05*ryr);
total=firstYr+secTh+remYr;
tbonus=total+bonus;
document.getElementById("total").innerHTML="Total : "+total.toFixed(2);
document.getElementById("bonus").innerHTML="Bonus : "+bonus.toFixed(2);
document.getElementById("tbonus").innerHTML="Gross : "+tbonus.toFixed(2);
}
</script>
</body>
</html>