Interview Questions

Computer Science – 12 Important Interview Questions

When you are going to pursue your career in Computer Science, there can be various questions asked. The interviewer can ask easy as well as difficult questions. The questions depend on the job for which you are applying. However, there are some questions which are commonly asked in interviews conducted to employee a Computer Science professional.

What is computer software?

Computer software is a program or a set of programs[1] which performs operations and processing on the given data to provide functionalities and features. It has various types and categories depending on the need and systems. For example, MS Word, Eclipse IDE etc. You may find more at Computer Software and types of software written by Arslan ud Din Shafiq.

What is program?

Raw set of instructions given as a command to a computer system that dictates the computer’s working and behavior is called a computer program. For example, if you make a code to print “Hello World“. It is a program but not software because it is neither taking any data nor processing information to provide any feature or functionality to the end-user. However, you can compile and run it, so it is a program.

What is source code or program code?

To write any software or a program, programming languages are used. We write a number of lines in a specific programming language by following its syntax, rules, and regulations which are accepted by the compiler. These lines of code are instructions and all of them constitute source code or program code. In short, if you have a source code of the software, you can easily enhance, replace or extend it.

What is pseudocode?

Pseudocode is a set of instructions designed by the developer and programmer to make a roadmap in natural language to write the source code of a software. Once pseudocode is ready, it becomes easy for the programmer to translate the pseudocode using desired programming language.

What is application software?

Application software is where the end-user is human. For example, MS Word, Audacity, Adobe Photoshop etc. This is application software. You can use them directly and perform different jobs. You can utilize these apps in various ways like editing photos, writing articles etc.

What is system software?

System software is where the end-user is the computer system itself. This software helps a computer to perform its jobs by managing and allocating the resources to a computer. This helps in communicating with BIOS and Kernel of the system. This allows human users to run their application software on a computer.

What is embedded software?

Computer is everywhere. You can control your freezers, air conditioners, electric switches, washing machines, ovens, mobile phones, etc by pressing various buttons and options available on them. This is embedded software which allows you to give instructions to a device.

What is compiler?

A compiler is a computer program which converts set of instructions or source code from any programming language to machine language or binary (0s,1s) to make it understandable for computer system.

A computer system is made up of silicon chips and it is an electronic device. For any electronic device, there can be only two states, either it is ON or it is OFF. If it is ON then binary will be 1 and if it is OFF then binary will be 0. However, it is not possible for human to write big programs in 0s and 1s directly, it may take years. Hence, high level programming languages like C#, Java, Python etc. allow you to write source code in more natural way and compiler helps in converting it to machine code.

What is machine code?

As described above in “What is compiler” section, a computer system is made up of silicon chips and it is an electronic device. For any electronic device, there can be only two states, either it is ON or it is OFF. If it is ON then binary will be 1 and if it is OFF then binary will be 0. Machine code is binary (0s,1s) which is understandable by a machine.

What is Java Virtual Machine?

Java Virtual Machine (JVM) makes your machine (computer, mobile or any other) compatible to run programs and software written in Java programming language. When we need to run Java on a system, we install JVM. Read more about how JVM works? written by Arslan ud Din Shafiq.

What is Java byte code?

Java Virtual Machine does not require source code to be converted into machine code. It requires source code to be converted into Java Byte code to run on a JVM. This Java byte code is in 0s and 1s but it supports cross platforms. Java code is converted into Java Byte code by compilers which is then translated into binary or machine code by JVM to feed the system.

What is integrated environment?

Integrated Development Environment, also known as IDE, is a software that allows you to write your source code easily. It provides you documentation and provides various functions like auto correct, auto complete, tips etc to speed up your development process. IDE allows you to compile and run your program as compared to text editors. It allows you to maintain indentation and helps you in identifying syntax errors while writing code.

References:

[1] Quentin Charatan, Aron Kans, Java in Two Semesters, 4th Edition, Springer Nature Switzerland AG (2019), Pg. 4

Arslan ud Din Shafiq

Alibaba Cloud MVP, Alibaba Cloud Technical Author, Dzone MVB, Software Engineer, Software Developer, Software Designer, Web Engineer, Web Developer, Web Designer, Database Designer, Database Developer, Cloud Computing Specialist, Linux Expert, Servers, 3D Modeling, Blogger, Facebook Map Editor, Google Map Editor

Recent Posts

How To Set Up Secure Nginx Server Blocks on Ubuntu 22.04

NGINX Server Nginx, a popular open-source web server, excels at handling high traffic websites efficiently.… Read More

5 days ago

The Web Server Showdown: Nginx vs. Apache, LiteSpeed, Caddy, and Beyond

In the realm of web hosting, choosing the right web server is paramount. It acts… Read More

5 days ago

Linear guidance systems

Are indispensable for ensuring smooth, precise linear motion in many industrial applications. Whether in robotics,… Read More

2 months ago

Cyber Attack Statistics – Identifying Vulnerabilities and Strengthening Defenses

Cyber attacks are becoming more frequent, complex, and damaging. They can disrupt critical operations and… Read More

3 months ago

Empowering Cybersecurity in 2024 with XDR for Comprehensive Threat Detection and Response

With the rise of new threats and the increasing complexity of IT environments, organizations need… Read More

3 months ago

Facade Design Pattern: Simplifying Complex Systems

1. Introduction In software design, managing complex systems can be challenging. The Facade Design Pattern… Read More

5 months ago