Posts

Important Flowchart For CPRG Theory Exam

Image
Most important Flow chart for IPLC theory exam 1. Draw flowchart to Find factorial of number. ANS) 2. Print Fibonacci series ANS) 3. Draw Flowchart to Interchange two variable's value (Swapping). ANS) 4. Print even numbers between 100 and 200 ANS) 5. Draw flowchart to find maximum from 10 numbers Ans)

Important Algorithm For CPRG Theory Exam

Most important Algorithms for IPLC theory exam : 1. Write an algorithm to input a number and display factorial of that number. ANS) //Algorithm to calculate the factorial of a number step 1. Start step 2. Read the number n step 3. declare              i=1, fact=1 step 4. Repeat step 4 through 6 until i=n step 5. fact=fact*i step 6. i=i+1 step 7. Print fact step 8. Stop 2. Write an algorithm to Generate Fibonacci series. ANS) Step 1: Start Step 2: Declare variables n, n1, n2, n3, i. Step 3: Accept value of N from user. Step 4: if N < 2, display message “Enter num greter than 2” and go to step 9. Step 5: Initialize variables n1 = 0, n2 = 1, i = 0 Step 6: Display n1, n2   Step 7: Compute n3 = n1 + n2 Step 8: Repeat following statements until i < N         Display N3         N1 = N2         N2 = N3       ...

HTML Frameset (i-frame)

Image
NOTE :- Put the frameset code in between opening and closing tag of Head  To get above output copy code and run in google chrome or download file frome below link <!DOCTYPE html> <html> <head> <frameset cols="25%,50%,25%"> <frame src="https://ljtians.blogspot.com/p/c-prg.html" border=2> <frame src="https://ljtians.blogspot.com/"> <frame src="https://ljtians.blogspot.com/p/html.html"> </frameset> </head> <body> </body> </html> Click here to download HTML file..

All Elemnts of Form with attributes

Image
Code for Above Output : <!doctype html> <html> <head> <title>HTML Form</title> <style> </style> </head> <body> <form> <table border="1" cellpadding=5 cellspacing=0 align="center" bgcolor=white> <tr> <td>Text box</td>    <td><input type=text name="fname"></td> </tr> <tr> <td title="This is textarea">Textarea</td> <td><textarea name="add" placeholder="this is area"></textarea></td> </tr> <tr> <td>Radio Button</td> <td> <input type=radio name=gen value=m checked>Male <input type=radio name=gen value=f>female </td> </tr> <tr> <td>Email</td> <td><input type=email name="mail" autofocus></td> </tr> <tr> <td>Password</td> ...

Table Excersice 2 solution (only 4, 5 tables which looks hard)

1. Create the HTML table for the following:      A B C D E F G H S I J K L M N O P Q R T Ans ) <!doctype html> <html> <head> <title>Assignment 1</title> <style> table tr { text-align:center; vertical-align:bottom; } </style> </head> <body> <table height=250 width=500 cellspacing=0 border=1> <tr> <td>A</td> <td>B</td> <td colspan=4>C</td> </tr> <tr> <td>D</td> <td colspan=2>E</td> <td>F</td> <td>G</td> <td>H</td> </tr> <tr> <td rowspan=3>S</td> <td>I</td> <td>J</td> <td>K</td> <td>L</td> <td>M</td> </tr> <tr> <td>...