1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
SIZIF [17.4K]
3 years ago
12

A variable used as a subscript should be initialized to ________.

Computers and Technology
1 answer:
jeyben [28]3 years ago
6 0
The answer is d. Two
Two variables referring to the same array object
You might be interested in
How can i use css/html coding to create links
erik [133]
Three Ways to Insert CSSThere are three ways of inserting a style sheet:External style sheetInternal style sheetInline styleExternal Style SheetWith an external style sheet, you can change the look of an entire website by changing just one file!Each page must include a reference to the external style sheet file inside the <link> element. The <link> element goes inside the head section:<span><head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head></span>An external style sheet can be written in any text editor. The file should not contain any html tags. The style sheet file must be saved with a .css extension. An example of a style sheet file called "myStyle.css", is shown below:<span><span>body </span>{
    background-color:<span> lightblue;</span>}

<span>h1 </span>{
    color:<span> navy;</span>
    margin-left:<span> 20px;</span>}
</span>
Hint: Do not add a space between the property value and the unit (such as margin-left:20 px;). The correct way is:<span>margin-left:20px;
</span>
nternal Style SheetAn internal style sheet may be used if one single page has a unique style.Internal styles are defined within the <style> element, inside the head section of an HTML page:<span>Example<span><span><head>
<style>
body </span>{
    background-color:<span> linen;</span>
}

<span>h1 </span>{
    color:<span> maroon;</span>
    margin-left:<span> 40px;</span>
} 
<span></style>
</head></span></span></span>Inline StylesAn inline style may be used to apply a unique style for a single element.An inline style loses many of the advantages of a style sheet (by mixing content with presentation). Use this method sparingly!To use inline styles, add the style attribute to the relevant tag. The style attribute can contain any CSS property. The example shows how to change the color and the left margin of a <h1> element:<span>Example<span><h1 style="color:blue;margin-left:30px;">
This is a heading.</h1></span></span>Multiple Style SheetsIf some properties have been defined for the same selector in different style sheets, the value will be inherited from the more specific style sheet. For example, assume that an external style sheet has the following properties for the <h1> element:<span><span>h1 </span>{
    color:<span> navy;</span>
    margin-left:<span> 20px;</span>
}</span>then, assume that an internal style sheet also has the following property for the <h1> element:<span><span>h1 </span>{
    color:<span> orange;</span>    
}</span>If the page with the internal style sheet also links to the external style sheet the properties for the <h1> element will be:<span>color: orange;
margin-left: 20px;</span>The left margin is inherited from the external style sheet and the color is replaced by the internal style sheet.Multiple Styles Will Cascade into OneStyles can be specified:in an external CSS fileinside the <head> section of an HTML pageinside an HTML elementCascading orderWhat style will be used when there is more than one style specified for an HTML element?Generally speaking we can say that all the styles will "cascade" into a new "virtual" style sheet by the following rules, where number three has the highest priority:Browser defaultExternal and internal style sheets (in the head section)Inline style (inside an HTML element)So, an inline style (inside an HTML element) has the highest priority, which means that it will override a style defined inside the <head> tag, or in an external style sheet, or in a browser (a default value).
<span><span>
Hint: If the link to the external style sheet is placed below the internal style sheet in HTML <head>, the external style sheet will override the internal style sheet!</span></span>
8 0
3 years ago
Constantine forms the following hypothesis. Let n be any non-negative number that meets the following condition: when n is divid
notka56 [123]

Answer:

n=5

Explanation:

if n= 5

i.     n/5=5/5=1  so it divides completely the remainder is 0

ii.  97 - 6(5) = 97 - 30 = 67,   67 is a prime number.

8 0
3 years ago
HELP FOR JAVASCRIPT: 01. What is prototypical inheritance? 02. How can JavaScript be used to improve accessibility on the web? I
Vlada [557]

Answer:

Following are the answer to this question:

Explanation:

Prototypical inheritance:

This inheritance is a part of the object-oriented programming, in the JavaScript, the prototype is also an instance of an entity, on this type of inheritance an object inherits another object directly, in which an instance could be composed of several sources which enable simple selective inheritance and a flat structure of delegation[[Prototype]].

Web accessibility using JavaScript:

In the website or web page, JavaScript is usually fully accessible if another script 's implementation has been device-independent, and the components are accessible to be used in assistive devices. It enables the developers to improve web page information, which helps in communication, data processing, and regulation, and it also helps in management.

3 0
3 years ago
Write a (one) program for your microcontroller so that it:
AleksandrR [38]

Answer:

see explaination

Explanation:

1.) Each time the main program execution starts at address 0000 - Reset Vector. The address 0004 is “reserved” for the “interrupt service routine” (ISR).

ORG 0x000 ; processor reset vector

goto main ; go to beginning of main program

ORG 0x004 ; interrupt vector location

movwf w_temp ; save off current W register contents

movf STATUS,w ; move status register into W register

movwf status_temp ; save off contents of STATUS register

.

.

RETFIE

main

3.) Push button switch is connected to the first bit of PORT B (RB0) which is configured as an input pin. When the switch is pressed this pin RB0 will be grounded. The LED is connected to the first bit of PORT B (RA0)

4.) Push button switch is connected to the first bit of PORT B (RB0) which is configured as an input pin. When the switch is pressed this pin RB0 will be grounded. The LED is connected to the first bit of PORT B (RA0)

5.) Push button switch is connected to the first bit of PORT B (RB0) which is configured as an input pin. When the switch is pressed this pin RB0 will be grounded. The LED is connected to the first bit of PORT B (RA0)

#include <stdio.h>

#include <stdlib.h>

#define _XTAL_FREQ 800000//Declare internal OSC Freq as 8MHz

#include <xc.h>

#include<pic.h>

CONFIG(FOSC_INTOSCIO & WDTE_OFF & PWRTE_OFF & MCLRE_ON & BOREN_OFF & LVP_OFF & CPD_OFF & WRT_OFF & CCPMX_RB0 & CP_OFF);

CONFIG(FCMEN_ON & IESO_ON);

unsigned int count=0;

main()

{

TRISA=0;//Sets all ports on A to be outputs

TRISB=1;//Sets all ports on B to be inputs

for(;;){

if(PORTBbits.RB0==1){//When the button is pressed the LED is off

PORTAbits.RA1 =0;

count=count+1;

}

else {

PORTAbits.RA1=1;

count = count +1;

}

if (count > 6){//if count =6 i.e 6 times button presses the RED LED turns on

PORTAbits.RA0=1;

}

else{

PORTAbits.RA0=0;

}

}

}

#include <stdio.h>

#include <stdlib.h>

#define _XTAL_FREQ 800000//Declare internal OSC Freq as 8MHz

#include <xc.h>

#include<pic.h>

CONFIG(FOSC_INTOSCIO & WDTE_OFF & PWRTE_OFF & MCLRE_ON & BOREN_OFF & LVP_OFF & CPD_OFF & WRT_OFF & CCPMX_RB0 & CP_OFF);

CONFIG(FCMEN_ON & IESO_ON);

unsigned int count=0;

main()

{

TRISA=0;//Sets all ports on A to be outputs

TRISB=1;//Sets all ports on B to be inputs

for(;;){

if(PORTBbits.RB0==1){//When the button is pressed the LED is off

PORTAbits.RA1 =0;

count=count+1;

}

else {

PORTAbits.RA1=1;

count = count +1;

}

if (count > 8){//if count =8 i.e 8 times button presses the RED LED turns on

PORTAbits.RA0=1;

}

else{

PORTAbits.RA0=0;

}

}

}

#include <stdio.h>

#include <stdlib.h>

#define _XTAL_FREQ 800000//Declare internal OSC Freq as 8MHz

#include <xc.h>

#include<pic.h>

CONFIG(FOSC_INTOSCIO & WDTE_OFF & PWRTE_OFF & MCLRE_ON & BOREN_OFF & LVP_OFF & CPD_OFF & WRT_OFF & CCPMX_RB0 & CP_OFF);

CONFIG(FCMEN_ON & IESO_ON);

unsigned int count=0;

main()

{

TRISA=0;//Sets all ports on A to be outputs

TRISB=1;//Sets all ports on B to be inputs

for(;;){

if(PORTBbits.RB0==1){//When the button is pressed the LED is off

PORTAbits.RA1 =0;

count=count+1;

}

else {

PORTAbits.RA1=1;

count = count +1;

}

if (count > 10){//if count =10 i.e 10 times button presses the RED LED turns on

PORTAbits.RA0=1;

}

else{

PORTAbits.RA0=0;

}

}

}

6 0
3 years ago
How does one build social capital?
iren2701 [21]

Answer:

by building on line presence

Explanation:

If you put yourself out there in multiple social sites you will build a following

3 0
2 years ago
Other questions:
  • Array A is not a heap. Clearly explain why does above tree not a heap? b) Using build heap procedure discussed in the class, con
    15·1 answer
  • What is the block of text at the bottom of the page called?
    7·1 answer
  • Write a program that implement a bubble sort ?
    5·1 answer
  • What is the name given to a collection of related fields such as ID number,name and address?
    12·1 answer
  • Both the Alphabetic Index and the Tabular List must be used to locate and assign a diagnosis code in ICD-10-CM. Group of answer
    7·1 answer
  • Which of the following is the best example of an installation issue?
    6·2 answers
  • Select the correct answer.
    15·2 answers
  • Brainly not working for me not showing any ads or answers
    5·2 answers
  • Intelligent transportation systems use GPS to<br> Select all that apply.
    5·1 answer
  • This is an example of what type of formula? =average(d1:d17) question 1 options: addition subtraction range average
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!