Answer:
55
Explanation:
Given the codes as below:
- for (int a = 0; a < 10; a++)
- {
- for (int b = 10; b > a; b--)
- {
- System.out.print("#");
- }
- }
There are two layer loops in the code. The outer loop (Line 1) will run for 10 iterations by traversing through a = 0 to a=9. However, the inner loop (Line 3) will run for 10 + 9 + 8 + 7 +...+ 1 = 55 iterations.
Since the print statement is within the inner loop (Line 5) and therefore the number of printed "#" symbols is dependent on the number of iterations of the inner loop. There will be 55 "#" symbols printed.
Answer:
D - a doctorate degree
Explanation:
You are studying in a role as a doctors position.
Answer:
False
Explanation:
The Security Development Life Cycle (SDLC), is a software development which involves traditional approach towards its design such as, waterfall model, Agile, etc.
It can either be referred to as a generic secure development life cycle or a specific one, such as the Microsoft SDL or the Cisco SDL.
Its phases includes,
A1 - Security Assessment
A2 - Architecture
A3 - Design and Development 1
A4 - Design and Development 2
A5 - Ship
PRSA - Post Release
Each phase talks about how a secured software is developed.
The Security Development Life Cycle (SDLC) is a general methodology for the design and implementation of an information system. This statement is false because by definition and attributes Security Development Life Cycle is a traditional approach towards software development and not a general method.
I am fairly sure the command for boot options is F11, and if not, then power down the system manually and turn it back on
Answer:
#include <stdio.h>
void printValues ( unsigned char *ptr, int count) // count is no of cells
{
for(int i=0; i<count; i++) {
printf("%d ", ptr[i]);
}
}
int main ( )
{
unsigned char data[ ] = { 9, 8, 7, 5, 3, 2, 1} ;
printValues( data, sizeof(data)/sizeof(data[0]) );
}
Explanation:
Remember that the sizeof() mechanism fails if a pointer to the data is passed to a function. That's why the count variable is needed in the first place.