itgs
Classified in Computers
Written at on English with a size of 3.64 KB.
types of network: depend on the geographical size
Classified in Computers
Written at on English with a size of 3.64 KB.
types of network: depend on the geographical size
Classified in Computers
Written at on English with a size of 5.43 KB.
carA = int(input("Can you please enter the top speed of a ferrari"))
carB = int(input("Can you please enter the top speed of a lamborghini"))
if carA>=carB:
print ("The fastest car is a ferrari")
elif carB>carA:
print ("The fastest car is a lamborghini”)
coins = int(input("Could you please enter the number of coins te pirate found(max 1000) then press enter"))
if coins >=1 and coins <=100:
print ("this is a small trasure")
elif coins >=101 and coins <=500:
print ("this is a medium treasure")
elif coins >=501 and coins <=1000:
print ("this is a BIG trasure”)
age = int(input("To know if you are old enogh to ride a bike could you please enter your age"))
if age > 16:
print("you can ride a... Continue reading "Latitude of the position" »
Classified in Computers
Written at on English with a size of 1.37 KB.
What is an array? - An Array is an ordered collection of items.
What is the following
Array - int[] arr = new int[3]; - One-dimensional array
What is the output of the following Java program? - No output and there is an error when the program is
Compiled.
if ((i != j) && (a[i] == a[j])) – -1 when lonely false, works
if (a[i] == a[j]) { - always returns -1 (fails)
if break removed, run slower
2 3 return x + secretMethod(x, n - 1); - 4
2 3 return x * secretMethod(x, n - 1); - 0
4 return x * secretMethod(x - 2); - 8
insertion sort, but bubbles all prev for each element
Selection sort – find next smallest and swap into n element. N+1.
Radix sort – buckets. Start with LSB.
5 7 System.Out.Println(node.... Continue reading "Radix" »
Classified in Computers
Written at on English with a size of 4.8 KB.
PROCESS STEPS: 1. Requirement Analysis: Gathering information about what the customer needs and defining the problem that the product is expected to solve. The results of the analysis are typically captured in a formal requirements specification, which serves as input to the next step. 2. Design: It involves defining the hardware and software architecture. The output of this stage is one or more design specifications, which are used in the next stage of implementation. 3. Implementation: Constructing the product as per the design specification(s) developed in the previous step 4. Testing: In this stage, both individual components and the integrated whole are methodically verified to ensure that they are error-free and fully meet the requirements
... Continue reading "The static pressure error varies according to" »Classified in Computers
Written at on English with a size of 4.23 KB.
Hardware: physical equipment used to process, store or transmit computer programs or data.
Classified in Computers
Written at on English with a size of 5.79 KB.
Classified in Computers
Written at on English with a size of 4.81 KB.
1.Structured Query Language (SQL) is considered a procedural language. False
2.PL/SQL fully supports SQL data types. True
3. The term anonymous blocks refers to blocks of code that are not stored for reuse and do not exist after being executed. True
4.The BEGIN section of a PL/SQL block contains code that creates variables, cursors, and types. True
5. Assignment statements are used to put or change the values of variables. True
6. A disadvantage of using the %TYPE attribute is that there is a slight performance hit in that the database server must look up the data type from the data dictionary. True
7. A collection is a data type that can store multiple values of different data types as one unit. False
8. A scalar variable can hold multiple... Continue reading "Constants pi type p decimals 2 value '3.1'" »
Classified in Computers
Written at on English with a size of 3.93 KB.
1) Consider the circuits below and calculate:
The total resistance in the circuit
The current in the circuit
The voltage drop across each resistor
A)
RT = 20 + 19 + 20 = 59
VT = RT * IT
10 = 59 * IT > IT = 0.17A
V1 = R1 * I1 > V1 = 20 * 0.17 = 3.4V
V2 = 19 * 0.17 = 3.23V
V3 = 20 * 0.17 = 3.4V
B)
RT = 12 + 5 + 10 = 27
VT = RT * IT
3 = 27 * IT > IT = 0.11A
V1 = R1 * I1 > V1 = 12 * 0.11 = 1.32V
V2 = 5 * 0.11 = 0.55V
V3 = 10 * 0.11 = 1.1V
2) Consider the diagram below and determine:
the total equivalent resistance
the voltage drops across R1, R2, and R3
the resistance in R2
VT = RT * IT
15 = RT * 0.05 > RT = 300
V1 = R1 * I1 > V1 = 5 * 0.05 = 0.25V
V3 = 15 * 0.05
Classified in Computers
Written at on English with a size of 2.75 KB.
Classified in Computers
Written at on English with a size of 3.88 KB.