DSA with Java- Solution- Very Short Answer

Data structure and algorithm with JAVA What is data structure? → A data structure is a specialized format for organizing and storing data. General data structure types include the array, the file, the record, the table, the tree, and so on. Any data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with […]

Web Programming – Solutions -2015

11. Write a program in PHP to add three numbers. <!doctype html> <html> <head> <title>Year : 2015 | Q : 11</title> </head> <body> <?php $sum = 0; if(isset($_POST[‘add’])) $sum = $_POST[‘n1’]+$_POST[‘n2’]+$_POST[‘n3’]; ?> <form method = ‘post’> Number 1: <input type = ‘number’ name = ‘n1’ value = ‘0’><br> Number 2: <input type = ‘number’ name […]

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 = […]

IT 214: DCCN Questions Bank Solution

This handwritten notes is provided by our active contributor Miss Aashma Pandey from Asian School of Management and Technology. Study Notes Nepal team is very thankful for her support toward us. This solution is for reference purposes only.

C-Programming (Handwritten Notes)

This handwritten notes is provided by our active contributor Miss Aashma Pandey from Asian School of Management and Technology. Study Notes Nepal team is very thankful for her support toward us. This Notes is for reference purposes only.

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 […]

Very Short Question Answer – Structured Programming

What is C language? The C programming language is a standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the UNIX operating system. It has since spread to many other operating systems, and is one of the most widely used programming languages. What is the difference between […]