Web Programming – I | BIM 3rd Semester | Solution

Year 2018 Differentiate between HTML and XHTML documents. HTML and XHTML both are markup languages used for creating web pages and our applications. HTML and XHTML both are almost similar but some keydifference between HTML and XHTML make them apart from each other. XHTMLis the extended version of HTML only with help of using XML […]

Chapter 2: Markets and Transactions

Very Short Question Answer 1. State the roles of an investment banker. Investment bankers play .a number of roles in the primary market. One of the primary roles of an investment banker is to work as an intermediary between issuing corporations and investors through initial public offerings (IPOs). Similarly, they provide underwriting services for new […]

Web Programming II – Solutions – 2016

11. Write a PHP program to create a web form that contains a textbox for names, and checkboxes for hobbies. When a form is submitted, check a name is entered, and at least one of the hobbies is selected. <!doctype html> <html> <head> <title>Year : 2016 | Q : 11</title> </head> <body> <form method = […]

Web Programming II – TU Solution – 2019 (Makeup)

TU Solution- BIM- 2019 (Makeup) 11. Write a PHP program to create a form that contains two textboxes which accepts numbers and a submit button. When submit button is clicked, sum of two numbers will be displayed. <!doctype html> <html> <head> <title>Year : 2019 (Makeup) | Q : 11</title> </head> <body> <?php if(isset($_POST[‘add’])) { $n1 […]

C-Programming Solved Questions

Write a function that takes a string from the user, if the length of the string is 7 then it displays the middle character of that string, and the function returns, otherwise the user is asked to input another string. [BIM 2014]#include<stdio.h>#include<string.h>int main(){char a[30];char b;int i;start:printf(“enter a string of 7 character “);scanf(“%s”,a);if(strlen(a)!=7)goto start;elseprintf(“the mid char […]