QA › Programming

Programming answers to 22 questions

Answer: False IP address or Internet Protocol address is a unique address assigned to every individual device — whether mobile or computer device — that is connected to the internet. It is a means through which each internet-based device can…
2 Views
Answer: 2 The Paintbox Era was the period of digital arts — between 1986 and 1996 — when computer programming was no longer the big deal. This era ushered in new paint technology which included Photoshop. It was also during…
2 Views
Answer: B. Ultrabooks. Ultraportables are a group of laptop computers that are lightweight, slim, and usually have higher processing speed and storage capacity than regular laptop computers. Ultrabooks conform to Intel's standards, and they have been designed to serve as…
4 Views
Answer: E. MYSQL MYSQL is a data-based programming language that is used to manipulate the data in the databases. Javascript is a client-side programming language. PHP is a server-side programming language Ruby is a programming language that can be used…
0 Views
Answer: A. Neglect to initialize the loop control variable prior to entering the loop body Failing to assign initial values (initialization) to the loop control variables (as well as other variables) is a common problem most programmers often make. It…
4 Views
Answer: B. Self-documenting. When a constant that is in use has been named (that is it has become known by an identifier), it becomes a self-documenting code. This means that it begins a sequence of programming languages that can be…
2 Views
Answer: D. All of the above. To begin designing physical files and databases, all of the above options need to be put in place.
0 Views
Answer: C. Computer file. A nonvolatile storage device is one that can retain information even after power is cut off. The computer file meets that criterion.
0 Views
Answer: B. HAS-A relationship. The HAS-A relationship refers to a composition relationship that makes provision for the use of random variables to draw deductive reference to other objects. It is a composition relationship that has proved to be invaluable when…
0 Views
Answer: A. Opacity. Opacity as a CSS3 property refers to the degree of transparency of an element. At a value of one, the element takes the form of a solid, while the background is completely obscured. At values between 0…
0 Views
The CPU stores its computations in some internal systems referred to as "registers". They function as a temporary space for the CPU to store data. It is efficient, yet with very limited storage space. The CPU has different registers in…
1 Views
Communication in computers happens through programming languages. These are sets of commands and rules that instruct a computing device to carry out specific tasks. Typical examples include JavaScript, PHP, Python and HTML programming languages. The HyperText Markup Language (HTML) is…
1 Views
Simply insert this condition: if (userAge >= 18 && userAge <= 25) {
6 Views
Generally, primitive data types is Java include char, float, double, boolean, short, int, long, byte. In turn, non-primitive types are classes, arrays, and string. So, the correct answer is A - String
7 Views
All you need to do here is to changes the lines order. #include <iostream> using namespace std; int main() { int userNum; cout<<"Enter a number"<<endl; cin >> userNum; if (userNum > 0){ cout << "Positive." << endl; } else{ cout…
2 Views
Answer: avgKids = static_cast<double>(numKidsA + numKidsB + numKidsC) / static_cast<double>(numFamilies);  
4 Views
Hi! That's simple - just insert this string: if (userInput.at(0) == firstLetter) {
2 Views
Here's your solution, integrated into the code: #include #include #include using namespace std; int main() { bool hasDigit; string passCode; hasDigit = false; passCode = "abc"; /* Your solution goes here */ if (isdigit(passCode.at(0)) || isdigit(passCode.at(1)) || isdigit(passCode.at(2))) { hasDigit…
6 Views
The port is what we call HDMI, that is, High- Definition Multimedia Interface in full. The HDMI is a computer port that can be used to communicate video and audio data from a source with HDMI to another. That is,…
4 Views
import java.util.Scanner; public class Test { public static void main(String args[]) { Scanner s = new Scanner(System.in); System.out.println("Enter the radius of a circle: "); double radius; do { double temp = s.nextDouble(); radius = (temp < 0) ? -1 :…
4 Views
<p style="background-color:grey;color:green;">your text your text </p>
5 Views
#include <stdlib.h> /* rand() */ #include <time.h> /* time() */ #include <stdio.h> /* printf() */ #define N_OF_FRIENDS 3 #define MAX_MOTHER_CARE 10 #define MIN_MOTHER_CARE 1 int main() { const unsigned SIZE = N_OF_FRIENDS; int ArrayA[N_OF_FRIENDS] = { 0 }; /* initialize…
4 Views