Programming
Programs in C++, C#, Java, Python, PHP and Prolog, plus operating systems, networking, algorithms and software engineering.
2020 · 1 post
2019 · 1 post
2016 · 4 posts
Identifying and Addressing the Challenges You Face in Testing Web Applications
· 13 min read
One way to identify the aspects of web testing that you need to address is to perform a self-assessment. Self-assessments are easy to perform, but they are…
Notes on SDLC Models
· 8 min read
Waterfall The Waterfall Model assumes that distinct phases of development of a whole system exist for analysis, preliminary design, detailed design, coding and…
Notes on Software Capability Maturity Model (CMM)
· 3 min read
The ability of a software development organisation to develop software that consistently meets the real requirements of a customer and doing so on time and…
Basic Guide to Git and Github
· 4 min read
I want to quickly go over the basic steps to get git and github working. Years ago l wrote on one of the version control softwares subversion which you can…
2015 · 1 post
2014 · 1 post
2013 · 1 post
2012 · 26 posts
C++ Knight Of Tours Program
· 3 min read
This program is a little complicated and needs deeper understanding. l try to put comments to explain what is going on, if you find something confusing, please…
C++ Program to illustrate file handling, inheritance and polymorphism
· 3 min read
This program enforces the concept of inheritance and polymorphism which are parts of the Object Oriented Design of the C++ language. The Program accesses a…
C++ Program to illustrate Huffman Compression and Decompression.
· 4 min read
Ok, this program will not run for you because l didn't include all the files needed to run the program. First of all, this was one of my class assignments and…
C++ Program to output nodes of a tree using inorder tree traversal algorithm
· 2 min read
This program outputs the nodes of a tree using inorder tree traversal algorithm. Each Node is prefixed by k number of "-" where k is the level of the node. I…
C++ Program to retrieve Capital City for states in the United States.
· 2 min read
The aim of this program is to create a little quiz for kids or even adults. To quickly learn the capital city for each state in the United States. Comments are…
C++ PROGRAM USING INHERITANCE AND POLYMORPHISM
· 2 min read
In this post l just want to write a simple program to display usage of inheritance and polymorphism in C++. I've included comments in the code to help…
programming practice exercises
· 4 min read
int ReverseString(char *); main() { char *Str; printf("enter any stringn"); gets(Str); ReverseString(Str); getch(); } int ReverseString(char *rev) {…
3 Producers and 2 Consumers Problem using PThread in C Language on Linux System
· 3 min read
2. prodConM This is a second version of the program. In this version, there are 3 producers and 2 consumers. The producers have to compete with each other, as…
One consumer and one producer problem using PThreads in C Programming Language.
· 3 min read
1. ProdCon This is a program about the producer and consumer problem. Where a producer will produce and a consumer will consume but the two of them can not…
Questions and answers to some problems in principles of operating systems textbook
· 2 min read
Operating System Concept,” 8th edition, Silberschatz, Galvin, Gagne: Wiley, 2008. 1. Textbook page 352, problem 8.11 (memory holes) Available partitions…
Using Prolog to tell Summary of Cinderella's Story and Alternative self created versions, Using Bayesian Network and Forward Chaining
· 6 min read
This is a project l did in Artificial Intelligence and l just want to share it with everyone. Its not the greatest but it might teach someone something new. So…
Create and process an html form on the same page in Php
· 5 min read
In this post, l want to discuss how to simply create a form and process the form on the same page in Php. For this example, we are going to create a form that…
Prolog program to implement an predicate hsort(In,Out) where In is a list of structures, and Out is the sorted structures
· 1 min read
Implement this predicate in Prolog. % hsort(In,Out): % In is a list of structures, node(X,H), where X is a node label % and H is h(X) the heuristic estimate…
Cyclic Redundancy Check
· 5 min read
This post is to explain in common language what is CRC when it comes to data transfer across networks. This is a Networking related term but everyone can get a…
Connect to database in php
· 1 min read
< ?php /* Created BY Vincent Amedekah This a simple script l've created to help anyone who might need help connecting to database in php Things to look out for…
Google a word using QTP
· 1 min read
Quick Test Professional (QTP) is an automation testing tool by Hewlett Packard that help automation engineers to create and execute almost any type of test on…
Operating System sample questions and solutions
· 3 min read
1. True or False. Explain briefly if false: a) In CPU scheduling, process starvation is possible in the FCFS technique. b) In Round-Robin CPU scheduling, the…
Java Program to calculate the Angle in degrees between the hour and minute hand of a clock
· 1 min read
import java.util.Scanner; /** * * @author Vincent Amedekah */ public class TimeAngle { public static void main(String[] args) { String time = null; String…
Classful addressing
· 2 min read
This topic is a continuation of a post l wrote earlier on IPv4 address. I just want to extend this discussion by adding classful addressing. In classful…
IPv4 Addressing
· 2 min read
I'll like to take some time off this Sunday evening and share some knowledge l've gathered in Networking with the rest of you wonderful and awesome people all…
Operating system questions and solutions 2
· 4 min read
1. Write a program named <print_num.c>, which should take one command-line argument called maxnum. Print_num should fork a child process, which prints the odd…
Operating System sample question with solutions 1
· 3 min read
1. True or False and briefly explain why a) Cache is usually faster than main memory. b) Main memory is usually more expensive than cache. a) True. Cache sits…
Prolog program for calculating weight of animals
· 1 min read
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Define allweight(L, W), such that it is true iff % W is the total weight of all the…
Prolog program for prerequisite and registration of courses
· 1 min read
% Implement the predicate can_register(Student, Course), % where can_register(S,C) is true iff S is a student who has % passed or waived all of the…
Prolog program for weather
· 1 min read
% problem 5 - Implement get_weather, which first prints a message: % 'Enter hot, sun, rain, snow or stop.' Then it starts a loop, % in which it prints the…
Prolog program to process finite state automat (2**2n)(b**m)
· 1 min read
% The language: (a**2n)(b**m), for n>=1, m>=0. For example, % aa, aaaa, aab, aaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbb. % Define the language (a**2n)(b**m) with the…
2011 · 7 posts
Sorting Methods- Algorithms
· 13 min read
I'm going to discuss some sorting methods used in computing in this post. By the way, sorting is a way of arranging objects in a list or an array or a sequence…
Designing interfaces
· 5 min read
In this post, l'm trying to explain some concepts or standards that designers follow when building user interfaces. This is a topic that can be filled under…
Requirement stage in Software Engineering
· 4 min read
This post discusses techniques that can be used to get good requirement documents for softwere projects or applications but it's likely going to be a similar…
Convert from base 10 to base 2.
· 6 min read
In computer world, most numbers are handled in base 2. In fact, most computers since the 1950's now use base two. The base two system is technically called…
Prolog program for Family relation
· 3 min read
If you are not familiar with computer programing, you will not understand the hassle behind what it takes to make things work on a computer and it will really…
Scheme Program to remove 1st occurence of a specified element in a list.
· 1 min read
This program is written using Drscheme. Drscheme is a compiler for scheme which is a dialect of LISP. To get a free copy of Drscheme, pls go here…
C++ Program (STL $ OOP)
· 3 min read
/* This program demostrates the concept of inheritance and polymorphism which are parts of the Object Oriented Design of the C++ language. The Program accesses…