Category "computer-science"

Describing a numbering system that counts from x at the y position in an index

From a theoretical perspective, I'm interested in learning how one would correctly describe a numbering system that starts counting from x at the y position in

importing pyttsx3 in python3.8 and found an error

I downloaded pyttsx3 in command prompt I have a big error this the code: import pyttsx3 engine = pyttsx3.init() engine.say("I will speak this text") engine.runA

Finding Arithmetic Mean of Subarrays Efficiently in an Array

I am trying to find number of ways o calculate arithmetic mean of a subarray of an array. It boils down to this; given an array X and an integer S, how many con

Zybooks 6.18 LAB: Track laps to miles

So I have written the code correctly for this problem, but I don't understand a part of the code that was already present as a requirement to use. What does thi

Transform the following infix expression to postfix form (using stacks)

guys please its due asapp Transform the following infix expression to postfix form (using stacks). (A + 2) * (B - C + D * E) + F

Maximum number that can be returned by 2 Natural Joins

Given relations A(a,b,c), B(e,f), C(d,g,h), where A has 800 tuples, B 200 and c 500. In worst case gives the expression A * B * C ( with * natural join) : a) 8

If L = {0^n 1^n | n > 0 } is L^c (complement of L) regular?

My teacher stated that If L = {0^n 1^n | n > 0 } then the complement was regular. I don't think it is. Is there anyone that can clear this up to me? I thou

Understanding bubble vs stall vs repeated decode/fetch

I'm really confused on the difference between bubbles, stalls, and repeated decoding/fetching. My text is the Patterson text, 3rd edition. Example 1: add $3,

How to simulate velocity in a falling sand game?

I'm creating a falling sand game and would like to implement velocity so elements can travel in different directions at varying speeds. Games such as Noita use

What is instruction set architecture?

I'm reading Computer Organization and Design, Fifth Edition by Patterson and I'm confused about a few sentences: Mainly, what is ISA (instruction set architect