Class Notes: Digital Image Processing
Class Notes: Software Engineering
Class Notes: C Programming
My Tutorials | Software
Class Notes: Operating System Concepts
Class Notes: Computer Fundamentals

Explain Software Design & Implementation Activity

Software Design & Implementation Activity:

The implementation stage of software development is the process of converting a system specification into an executable system. A software design is a description of the structure of the software to be implemented, the data which is part of the system, the interfaces between system components and, sometimes, the algorithms used. Designers design step by step to meet the finished design to be implemented in programming to crease an executable system out of the specification.

Thus, output of each stage of the design process is the input of the next stage. Stages continue until a finished design is met which includes all the specification and work involved in the development of the software.

How to read and write INI files in PHP?

INI Files:

INI files are simple text files with a basic structure consisting of sections, property and value. INI files can be used across different platform which is a great advantage as a single INI file can be used in various versions of the same application for various platforms. INI files are used to store configurations for applications in a manner of property = value. Values can be single or one dimensional array. Also sections can be used to group same type of configurations. The last thing is comments, we can write comments in INI files. Comments in INI files starts with ; (semicolon)

How to Save PHP Array in Database in PHP

When we create management system or a CMS like application, we need to store a lot of configuration per user, per module etc. Multidimensional array is the best ever thing to work with in such situation. Configuration can be of two different types; searchable and not searchable. Searchable configurations are those which are used to filter a search result. For example various flags, tags, categories that we store with contents. We might need to filter contents with this flags, tags etc. No searchable configurations are like widget settings. We do not search for settings of an widget, rather we need those settings while rendering the widget.

How to read commented lines in a PHP file in PHP?

Did you ever noticed the commented lines over theme files, widget and plugin files in PHP in different CMS like wordpress etc.? These commented lines are not there just because the developer wanted to, these are most probably there as the system where the file will be used requires those lines to be there at the beginning of the file to describe the files in terms such as the name of the theme or plugin, created date, author name, last modified, version name etc. These information about the file then can later be used in the system or CMS.

This purpose can be solved in many ways, such as
  1. Using a .ini file
  2. Using a separate .php file that returns an array of information
  3. Using a array-string-array method
  4. Using .txt or any file with any or no extension
  5. Using a registration method

How to pass or use PHP array in Javascript variable?

Multidimensional PHP arrays are similar to multidimensional JSON objects. So shouldn't be there a way to use a multidimensional PHP array in Javascript? Obviously, and there is ways. For example you can use AJAX to make a request and get the PHP back in JSON format. However, why to make an AJAX call if the array is ready to be used already? Right.

If the PHP array is ready to be used in Javascript already, then just simply echo the PHP array in a Javascript variable as follows.

What is Software Specification Activity? Describe the four main phases of software specification activity?

Software Specification:

Software specification or requirements engineering is one of the four activities of software process. In software specification, the task is to identifying and defining the services to be provided from the system and what are the constraints in the operations of the system and in the development of the system. This stage, among the four activities of software process, is critical enough as this is the first stage of the process and defines the whole system. Missing or misunderstanding requirements, leaving gaps or errors will ultimately cause higher development cost, time and rework.

Describe the Waterfall Software Process Model

Waterfall Software Process Model:

Waterfall model software process model was derived from general system engineering process and it is so called as the stages go top to bottom and while one stage of the process is complete it moves to the next stage and not supposed to come back to any previous stage. That is one stage is supposed to be started if and only if the previous stage is finished and approved to move on to the next stage. However, in practice, things doesn't happen this way.

Following is an illustration of the involved stages of Waterfall model.

How Add/Remove a Label To/From Multiple Posts at a Time in Blogger?

Dear blogger users, when we start blogging with blogger we misuse labels in blogger in blog posts. We generally forget that labels in blogger blog posts are like categories. Sometimes we might also not use meaningful labels to blog posts. Instead we use meaningless labels to our blog posts. Thus after a year, when we start learning more about categorizing blog posts with labels, we find hundreds of meaningless or misused or misspelled labels in our blog posts.

How to add adsense ads in the middle of the content in blogger template?

Middle of the Content is the best performing ad position for me so far among all the 5 Best Ad Positions I discussed earlier. This ad position is so effective as the reader sees the ad while reading your post and if you can blend the ad style with the style of the content then the reader will definitely click on it if the ad is relative to the content and valuable to the reader's interest.

I am going to discuss two ways, both ways required you to setup a bit of jQuery code in your template initially. Where the ways differ is that in the second way, you have to EDIT HTML of your content (post or page).

Both of the ways, require jQuery, those one with good JS understanding can implement this without jQuery.

What is control unit? What are the functions of control unit?

Control Unit:

Control unit co-ordinates the transfer of data between registers of CPU or microprocessor and ALU. Control unit serves the instructions for ALU. Along with this, control unit, as its name implies, controls every other parts of the machine, their co-ordinations, traffic etc.

Thus control unit controls the complete work-flow of the CPU. But control unit doesn't take inputs, give outputs, process data or store data itself, what control unit do is, it controls these operations when they are performed by respective devices.